Subject: Re: default/first cdrom device name
To: None <>
From: Klaus Heinz <>
List: pkgsrc-users
Date: 12/09/2007 19:50:35
Alan Barrett wrote:

> >   RIP_CD_DRIVE=           /dev/rcd0d # default on NetBSD
> Depending on platform, it could be rcd0c or rcd0d.  If run-time tests are
> allowed, you could check the value of sysctl kern.rawpartition (2 means
> "c", 3 means "d").

I am using this now
  RAWPART!=           /sbin/sysctl -n kern.rawpartition | tr '0-7' 'abcdefgh'