Installing Zip Drive in RH8

Place to discuss Fedora and/or Red Hat

Postby Ice9 » Thu Mar 20, 2003 4:24 pm

Let's see if I get this right.
If this line
Code: Select all
/misc   /etc/auto.misc  --timeout=60

is uncommented in my /etc/auto.master
this line
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 ....
Ice9
guru
guru
 
Posts: 577
Joined: Thu Jan 09, 2003 12:40 am
Location: Belgium

Postby Void Main » Thu Mar 20, 2003 5:22 pm

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".
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Previous

Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 0 guests

cron