Where's my CD-ROM
John Summerfield
debian at herakles.homelinux.org
Wed Dec 1 11:17:46 UTC 2004
I've become accustomed over many years to having a symlink at /dev/cdrom
pointing to my CD drive.
I mostly use autofs to access the drive as that avoids the need to explicitly
mount CDs, and motly also avoids having to unmount them.
autofs is configured at I expect:
[root at dugong ~]# grep cd /etc/auto.misc
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
[root at dugong ~]#
Perhaps not perfectly considering selinux, but you get the idea.
/misc exists.
the symlink doesn't exist. However, others do:
[root at dugong ~]# ls -l /dev | grep ^l
lrwxrwxrwx 1 root root 11 Nov 23 21:32 core -> /proc/kcore
lrwxrwxrwx 1 root root 3 Nov 23 21:32 fb -> fb0
lrwxrwxrwx 1 root root 13 Nov 23 21:32 fd -> /proc/self/fd
lrwxrwxrwx 1 root root 3 Nov 23 21:33 floppy -> fd0
lrwxrwxrwx 1 root root 13 Nov 23 21:32 MAKEDEV -> /sbin/MAKEDEV
lrwxrwxrwx 1 root root 3 Nov 23 13:33 par0 -> lp0
lrwxrwxrwx 1 root root 4 Nov 23 21:32 ram -> ram1
lrwxrwxrwx 1 root root 4 Nov 23 21:32 ramdisk -> ram0
lrwxrwxrwx 1 root root 24 Nov 23 21:32 root
-> /dev/VolGroup00/LogVol00
lrwxrwxrwx 1 root root 15 Nov 23 21:32 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Nov 23 21:32 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Nov 23 21:32 stdout -> /proc/self/fd/1
lrwxrwxrwx 1 root root 4 Nov 23 21:32 systty -> tty0
lrwxrwxrwx 1 root root 4 Nov 23 21:32 XOR -> null
[root at dugong ~]#
My two nahant boxes do, and the one that lacks a floppy disk also lacks the
symlink. Phew!
In this system, at CD drive is actuall a DVD-ROM drive at hdd.
--
Cheers
John Summerfield
tourist pics: http://environmental.disaster.cds.merseine.nu/
More information about the fedora-list
mailing list