Place to discuss Fedora and/or Red Hat
- Posts: 577
- Joined: Thu Jan 09, 2003 12:40 am
- Location: Belgium
Let's see if I get this right.
If this line
is uncommented in my /etc/auto.master
Code: Select all
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
is in my /etc/auto.misc
and i do
# chkconfig autofs on
# service autofs restart
If there's no activity for 60seconds my cdrom will unmount automatically?
How can I check if this works on my system? I made the changes but when I right-click the icon on my desktop, "unmount" is still showing, and not "mount" like when it's not mounted ....
- Site Admin
- Posts: 5716
- Joined: Wed Jan 08, 2003 5:24 am
- Location: Tuxville, USA
It will only autoUNmount if it was automounted under the /misc/cd mount point by a process trying to access /misc/cd. And that process no longer is accessing that directory structure. If the CD is manually mounted under /mnt/cdrom then it will not be automatically unmounted from that mount point. The "/misc" directory structure is a special directory structure utilized by autofs. You can tell what is mounted where by typing "mount" or "df".