On Wed, May 05, 2004 at 05:58:55PM +0200, Magnus Therning wrote: | I just installed udev since I wanted to do some cool things with my | memstick :-) | | The only problem is that my CDROM disappeared (actually both of them | disappeared). It seems that both hdb and hdc turn up in /etc/udev/.dev, | but neither can be found in /dev :-( Any pointers? udev mounts the old /dev on /etc/udev/.dev before it mounts its own temporary filesystem over /dev. If /dev/Foo exists before udev starts, then it will continue to exist as /etc/udev/.dev/Foo. After udev starts, it controls what exists in /dev. udev begins by copying all entries from the existing /dev. Then it reads all the rules specified in /etc/udev/rules.d and creates the requested nodes for devices it finds in /sys. (/sys is a on-the-fly view into the kernel, similar to /proc) The question, then, is twofold : 1) does your CD drive present itself via /sys? (if you use the 'ide-cd' driver then it does) 2) Is udev on your system configured to create a device node for that drive, and if so by what name? To track this down, first see what files are symlinked into /etc/udev/rules.d. See if those files have any rules for IDE disks (most likely it does) and see what name it gives to them. Some of the provided rules files use names like 'hda', etc, and another uses names like ide/host0/bus0/target0/lun0/disc. Second, look in /var/log/syslog to find the information udev logs as it creates nodes. Does /dev/ide/host0/bus0/target1/lun0/cd exist by any chance? Does /dev/cdroms exist? HTH, -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/ jabber: dman@dman13.dyndns.org
Attachment:
signature.asc
Description: Digital signature