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

Re: how to be sure, that /dev/cdrom exists?



On Mon, 28 Oct 2002 18:07, Steve Langasek wrote:
> The best way to make sure the /dev/cdrom link is present is to check for
> it, use debconf to prompt the user if it's absent, and then create the
> link (possibly with some /proc autodetection) if the user agrees to let
> you create the link.

Except if /dev/.devfsd exists which indicates the presence of devfs.  When 
running devfs you should never create anything under /dev.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



Reply to: