==> On Mon, 09 Apr 2007 12:48:35 -0400, Paul Smith <[EMAIL PROTECTED]> said:

Paul> On Mon, 2007-04-09 at 12:44 -0400, Jeff Moyer wrote: > Jeff> If
Paul> you set the timeout to 60 seconds, the automount daemon will >
Paul> Jeff> wake up approximately every 15 seconds (4 times per
Paul> timeout, see > Jeff> CHECK_RATIO in the daemon) and ask the
Paul> kernel if it is okay to > Jeff> expire the mount.
Paul> > 
Paul> > I guess I should further qualify this.  Asking the kernel
Paul> means > issuing an ioctl.  The kernel then checks the access
Paul> time for the > mount point and, if it is > timeout seconds ago,
Paul> it will try to expire > the mount (by calling out to the
Paul> daemon).

Paul> Perfect; that's what I was looking for.  So, CHECK_RATIO is a
Paul> constant regardless of the size of the timeout?  So if I make my
Paul> timeout 10 hours it will check every 2.5 hours (unless I change
Paul> the constant in the daemon code)?

That is correct.

-Jeff

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to