what's removing my cdrom link?

C. Linus Hicks lhicks at nc.rr.com
Wed Feb 9 00:57:50 UTC 2005


On Tue, 2005-02-08 at 16:29 -0500, Douglas Frank wrote:
> Hi all
> 
> /dev/hdc is my cdrom.  But, the player looks for /dev/cdrom.
> 
> So of course I set up a link, /dev/cdrom pointing to /dev/hdc.  Works 
> fine... UNTIL I reboot, and discover the link's gone.
> 
> What's rm'ing the link to hdc?  On the assumption that it happens during 
> boot (as opposed to when shutting down), I disabled kudzu but that made 
> no difference, /dev/cdrom still disappears.

Your system is probably using udev rather than a static /dev. See if you
have a line like this:

none /dev tmpfs rw 0 0

in /proc/mounts. That means that /dev is a tmpfs filesystem and isn't
stored anywhere permanently. It gets created at boot time. Try reading
here:

http://www.reactivated.net/writing_udev_rules.html

-- 
C. Linus Hicks <lhicks at nc dot rr dot com>




More information about the fedora-list mailing list