Subject: Re: default/first cdrom device name
To: None <pkgsrc-users@NetBSD.org>
From: Klaus Heinz <k.heinz@dezsieben.kh-22.de>
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'

ciao
     Klaus