On Mon, 2007-04-09 at 13:21 -0400, Jeff Moyer wrote:
> I'm not sure that the internals are really worth discussing in the man
> page

I agree with you to some extent, and I don't think the underlying method
(using an ioctl, etc.) should be documented there, but I think the
details of this algorithm can make a difference to how you decide set
the timeout value, especially for larger timeouts.  It's not even really
clear (from my reading of the man page) that the timeout is "time from
the last access of the filesystem", as opposed to "how often we check to
see if anyone is using it".  At the least it seems like that should be
made clear, even if the other details (how often the daemon checks for
example) are not spelled out.  Maybe the text:

-t, --timeout
        Set the minimum timeout, in seconds, until directories are
        unmounted.  The default is 5 minutes.  Setting the timeout to
        zero disables unmounts completely.

could be rewritten as:

-t, --timeout
        Set the minimum timeout, in seconds, from the last access of the
        directory until it is unmounted.  The default is 5 minutes.
        Setting the timeout to zero disables unmounts completely.

An extra sentence could also be added: "Access times are checked
periodically, so the actual timeout will be greater than this value.
The longer the timeout, the less frequently the access times are
checked." or something.

> We'll see what Ian thinks.

OK, cheers!

-- 
-----------------------------------------------------------------------------
 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

Reply via email to