devfs
[Top] [All Lists]

Another /dev/cdrom question

To: devfs@xxxxxxxxxxx
Subject: Another /dev/cdrom question
From: "Luo, Ling" <Ling.Luo@xxxxxxxxxxxxx>
Date: Mon, 20 May 2002 14:38:22 -0400
Sender: owner-devfs@xxxxxxxxxxx
I found that the /dev/cdroms and symbolic link /dev/cdrom do not appear
under /dev until I cd into /dev/discs or /dev/ide.
Is there a way to make the two entries appear under /dev automatically after
reboot?

Here are some information
2.4.18 kernel + devfs 213

linuxplat-9:/dev/ide/cd <253> ll
total 0
lr-xr-xr-x    1 root     root           29 May 20 14:21 c0b0t1u0 ->
../host0/bus0/target1/lun0/cd

devfsd.conf :
#
# Uncomment this if you want the old /dev/cdrom symlink
REGISTER       ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom
UNREGISTER   ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom



<Prev in Thread] Current Thread [Next in Thread>