pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: default/first cdrom device name



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



Home | Main Index | Thread Index | Old Index