autofs and CDROM in FC5 on an X-less machine

Mogens Kjaer mk at crc.dk
Thu Mar 23 15:10:23 UTC 2006


In FC4 and before, I used to use autofs for automatic
mount/umount of my CDROM drive.

In FC5 I've tried the same setup:

auto.master:

/misc  /etc/auto.misc --timeout=15

auto.misc:

cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

When I cd to /misc/cd, the CD is automatically mounted.

However, in FC5, if I cd away from /misc/cd, the CD
is never unmounted.

There's some activity on the CDROM drive LED that indicates
that something is accessing the drive sometimes.

The machine does not run X.

How do I make this work correctly?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list