==> On Mon, 09 Apr 2007 12:14:18 -0400, Jeff Moyer <[EMAIL PROTECTED]> said:
==> On Mon, 09 Apr 2007 11:45:54 -0400, Paul Smith <[EMAIL PROTECTED]> said: Jeff> Paul> I've looked around but I couldn't find an answer to this Jeff> Paul> question. There are a lot of offhand comments saying the Jeff> Paul> filesystem will be unmounted after timeout seconds, but Jeff> that's Paul> not very precise. Jeff> Paul> If, for example, I set --timeout=60, does that mean the FS Jeff> will Paul> unmount 60 seconds after it was last accessed? Jeff> Paul> Or, does it mean that every 60 seconds automount will wake Jeff> up Paul> and see if anyone is using the filesystem, and if not Jeff> unmount Paul> it? Jeff> If you set the timeout to 60 seconds, the automount daemon will Jeff> wake up approximately every 15 seconds (4 times per timeout, see Jeff> CHECK_RATIO in the daemon) and ask the kernel if it is okay to Jeff> expire the mount. I guess I should further qualify this. Asking the kernel means issuing an ioctl. The kernel then checks the access time for the mount point and, if it is > timeout seconds ago, it will try to expire the mount (by calling out to the daemon). -Jeff _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
