Blame SOURCES/autofs-5.0.7-document-browse-option-in-man-page.patch

306fa1
autofs-5.0.7 - document browse option in man page
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
The "browse" option has remained undocumented for a long time.
306fa1
Finally add a section for it to auto.master(5) making special
306fa1
note of the potential performance implications.
306fa1
---
306fa1
 CHANGELOG            |    1 +
306fa1
 man/auto.master.5.in |   11 +++++++++++
306fa1
 2 files changed, 12 insertions(+)
306fa1
306fa1
diff --git a/CHANGELOG b/CHANGELOG
306fa1
index ecdea0b..d8e4049 100644
306fa1
--- a/CHANGELOG
306fa1
+++ b/CHANGELOG
306fa1
@@ -36,6 +36,7 @@
306fa1
 - fix requires in spec file.
306fa1
 - fix libtirpc build option to require libtirpc-devel if needed.
306fa1
 - fix systemd unidir in spec file.
306fa1
+- document browse option in man page.
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
diff --git a/man/auto.master.5.in b/man/auto.master.5.in
306fa1
index bbea43a..c552e56 100644
306fa1
--- a/man/auto.master.5.in
306fa1
+++ b/man/auto.master.5.in
306fa1
@@ -147,6 +147,17 @@ multiple file systems should be mounted (`multimounts'). If this option
306fa1
 is given, no file system is mounted at all if at least one file system
306fa1
 can't be mounted.
306fa1
 .TP
306fa1
+.I "[no]browse"
306fa1
+This is an autofs specific option that is a pseudo mount option and
306fa1
+so is given without a leading dash. Use of the browse option pre-creates
306fa1
+mount point directories for indirect mount maps so the map keys can be
306fa1
+seen in a directory listing without being mounted. Use of this option
306fa1
+can cause performance problem if the indirect map is large so it should
306fa1
+be used with caution. The internal program default is to enable browse
306fa1
+mode for indirect mounts but the default installed configuration overrides
306fa1
+this by setting BROWSE_MODE to "no" because of the potential performance
306fa1
+problem.
306fa1
+.TP
306fa1
 .I "nobind"
306fa1
 This is an autofs specific option that is a pseudo mount option and
306fa1
 so is given without a leading dash. It may be used either in the master