LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   automount won't unmount (https://www.linuxquestions.org/questions/slackware-14/automount-wont-unmount-278042/)

fskmh 01-15-2005 08:19 AM

automount won't unmount
 
I am having a problem with getting automount to unmount, here are my config files:

/etc/auto.master:
/auto /etc/auto.misc --timeout=10

/etc/auto.misc:
cdrom -fstype=iso9660,user,ro :/dev/cdrom

/etc/filesystems:
reiserfs vfat msdos iso9660

I know that udev is adding the devices correctly because (un)mounting works fine manually. I initially had the timeout at 60s and I've tried other values, but I'm still doing something wrong.

I'd appreciate any ideas on this.

keefaz 01-15-2005 10:44 AM

try to remove --timeout=10 from auto.master,
comment the cdrom line in fstab if it exists,
and finally change /dev/cdrom to the device it points to (try ls -al /dev/cdrom) in auto.misc

/etc/rc.d/rc.autofs restart

Then insert a cd, cd into /auto/cdrom, see what happen, type mount whitout argument, then
cd into another directory (in your home dir for example), wait 5 second and retype mount
without argument to see if cdrom is umounted


All times are GMT -5. The time now is 10:07 AM.