autofs

Chris Kloiber ckloiber at ckloiber.com
Mon May 24 21:47:33 UTC 2004


On Tue, 2004-05-25 at 05:22, Mark Guzzo wrote:
> On Mon, 2004-05-24 at 14:28, Chris Kloiber wrote:
> > On Mon, 2004-05-24 at 22:59, Mark Guzzo wrote:
> > > Hello all,
> > > 
> > > I've selected autofs to install and now when I click on the floppy or
> > > cdrom from "Computer" in Nautilus it will mount the device, cool.
> > > 
> > > My question is ...
> > > How do I make it to umount the device after so many seconds of idle
> > > time?
> > > 
> > > I've looked at the auto.master, auto.misc, auto.net and non of them seem
> > > to be providing the automagic mount point!. So where/what is the config
> > > file for this?
> > 
> > $ cat /etc/auto.master
> > # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
> > # Sample auto.master file
> > # Format of this file:
> > # mountpoint map options
> > # For details of the format look at autofs(8).
> > # /misc /etc/auto.misc  --timeout=60

> Thanks for the reply Chris,
> 
> But if you look at that file, you will see that there is no info on where
> the current auto mapping is being done. Everything seems commented out,
> in auto.master, auto.misc, auto.net.
> 
> Any other info :-)

That's because the service is not configured on my system. Uncomment the
/misc line, then edit the auto.misc. The --timeout=60 is your unmount
after 60 seconds of disuse. It also tells you to 'man 8 autofs' for more
information.

-- 
Chris Kloiber






More information about the users mailing list