On Mon, 2007-04-09 at 12:44 -0400, Jeff Moyer wrote: > 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).
Perfect; that's what I was looking for. So, CHECK_RATIO is a constant regardless of the size of the timeout? So if I make my timeout 10 hours it will check every 2.5 hours (unless I change the constant in the daemon code)? -- ----------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> http://netezza.com "Please remain calm--I may be mad, but I am a professional."--Mad Scientist ----------------------------------------------------------------------------- These are my opinions--Netezza takes no responsibility for them. _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
