Commit f23ceaac authored by Ian Kent's avatar Ian Kent Committed by Linus Torvalds

autofs: update AUTOFS_EXP_LEAVES description

Update the description of AUTOFS_EXP_LEAVES to cover its possible future
use with amd format mount maps.

Link: http://lkml.kernel.org/r/155287083538.12593.18163159677020718048.stgit@pluto.themaw.netSigned-off-by: default avatarIan Kent <raven@themaw.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 92000266
...@@ -262,8 +262,12 @@ up. ...@@ -262,8 +262,12 @@ up.
There is an option with indirect mounts to consider each of the leaves There is an option with indirect mounts to consider each of the leaves
that has been mounted on instead of considering the top-level names. that has been mounted on instead of considering the top-level names.
This is intended for compatibility with version 4 of autofs and should This was originally intended for compatibility with version 4 of autofs
be considered as deprecated. and should be considered as deprecated for Sun Format automount maps.
However, it may be used again for amd format mount maps (which are
generally indirect maps) because the amd automounter allows for the
setting of an expire timeout for individual mounts. But there are
some difficulties in making the needed changes for this.
When autofs considers a directory it checks the `last_used` time and When autofs considers a directory it checks the `last_used` time and
compares it with the "timeout" value set when the filesystem was compares it with the "timeout" value set when the filesystem was
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment