Blame SOURCES/autofs-5.0.8-make-autofs-5-consistent-with-auto-master-5.patch

306fa1
autofs-5.0.8 - make autofs(5) consistent with auto.master(5)
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
The presentation in autofs(5) isn't the same as that in auto.master(5).
306fa1
---
306fa1
 CHANGELOG            |    1 +
306fa1
 man/auto.master.5.in |   18 +++++++++++-------
306fa1
 man/autofs.5         |   41 +++++++++++++++++++++++++++--------------
306fa1
 3 files changed, 39 insertions(+), 21 deletions(-)
306fa1
306fa1
--- autofs-5.0.7.orig/CHANGELOG
306fa1
+++ autofs-5.0.7/CHANGELOG
306fa1
@@ -93,6 +93,7 @@
306fa1
 - change walk_tree() to take ap.
306fa1
 - add negative cache lookup to hesiod lookup.
306fa1
 - fix external env configure.
306fa1
+- make autofs(5) consistent with auto.master(5).
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
--- autofs-5.0.7.orig/man/auto.master.5.in
306fa1
+++ autofs-5.0.7/man/auto.master.5.in
306fa1
@@ -38,14 +38,14 @@ Access to mounts in maps is governed by
306fa1
 .P
306fa1
 For direct maps the mount point is always specified as:
306fa1
 .P
306fa1
-/-
306fa1
+.BR /-
306fa1
 .P
306fa1
 and the key used within the direct map is the full path to the mount point. The direct map
306fa1
 may have multiple entries in the master map.
306fa1
 .P
306fa1
 For indirect maps access is by using the path scheme:
306fa1
 .P
306fa1
-.RI / mount-point / key 
306fa1
+.BR /mount-point/key
306fa1
 .P
306fa1
 where
306fa1
 .I mount-point
306fa1
@@ -57,7 +57,9 @@ map given in the entry (See
306fa1
 .P
306fa1
 Additionally, a map may be included from its source as if it were itself
306fa1
 present in the master map by including a line of the form:
306fa1
-.BR +\ [ maptype , format :] map [ options ]
306fa1
+.P
306fa1
+.BR + [ maptype [, format ]:] map\  [ options ]
306fa1
+.P
306fa1
 and 
306fa1
 .BR automount (8)
306fa1
 will process the map according to the specification described below for
306fa1
@@ -73,14 +75,14 @@ which contains options to be applied to
306fa1
 .P
306fa1
 The format of a master map entry is:
306fa1
 .TP
306fa1
-.IR mount-point\  [ map-type [, format ]:] map\  [ options ]
306fa1
+.BR mount-point\  [ map-type [, format ]:] map\  [ options ]
306fa1
 .TP
306fa1
-\fBmount-point\fP
306fa1
+.B mount-point
306fa1
 Base location for the \fBautofs\fP filesystem to be mounted.  For
306fa1
 indirect maps this directory will be created (as with \fBmkdir \-p\fP)
306fa1
 and is removed when the \fBautofs\fP filesystem is umounted.
306fa1
 .TP
306fa1
-\fBmap-type\fP
306fa1
+.B map-type
306fa1
 Type of map used for this mount point.  The following are
306fa1
 valid map types:
306fa1
 .RS
306fa1
@@ -133,7 +135,8 @@ for maps of types \fBfile\fP, \fBdir\fP,
306fa1
 in the case for maps of type \fByp\fP, \fBnisplus\fP, or \fBhesiod\fP or
306fa1
 the \fBdn\fP of an LDAP entry for maps of type \fBldap\fP.
306fa1
 .TP
306fa1
-\fBoptions\fP
306fa1
+.B options
306fa1
+.br
306fa1
 Any remaining command line arguments without leading dashes (\-) are
306fa1
 taken as options (\fI\-o\fP) to \fBmount\fP.  Arguments with leading
306fa1
 dashes are considered options for the maps.
306fa1
@@ -287,6 +290,7 @@ it will used for subsequent lookups.
306fa1
 There are three common schemas in use:
306fa1
 .TP
306fa1
 .I nisMap
306fa1
+.br
306fa1
 Entries in the \fBnisMap\fP schema are \fBnisObject\fP objects in
306fa1
 the specified subtree, where the \fBcn\fP attribute is the key
306fa1
 (the wildcard key is "/"), and the \fBnisMapEntry\fP attribute
306fa1
--- autofs-5.0.7.orig/man/autofs.5
306fa1
+++ autofs-5.0.7/man/autofs.5
306fa1
@@ -22,42 +22,56 @@ This is a description of the text file f
306fa1
 these files may exist.  All empty lines or lines beginning with # are
306fa1
 ignored. The basic format of one line in such maps is:
306fa1
 .P
306fa1
-.BI "key [" -options "] location"
306fa1
-
306fa1
-.SS key
306fa1
+.BR key\  [ -options ]\  location
306fa1
+.TP
306fa1
+.B key
306fa1
+.br
306fa1
 For indirect mounts this is the part of the path name between the mount point
306fa1
 and the path into the filesystem when it is mounted. Usually you can think about the
306fa1
 key as a sub-directory name below the autofs managed mount point.
306fa1
 
306fa1
 For direct mounts this is the full path of each mount point. This map is always
306fa1
 associated with the /- mount point in the master map. 
306fa1
-
306fa1
-.SS options
306fa1
+.TP
306fa1
+.B options
306fa1
+.br
306fa1
 Zero or more options may be given.  Options can also be given in the 
306fa1
 .B auto.master
306fa1
 file in which case both values are cumulative (this is a difference
306fa1
 from SunOS).  The options are a list of comma separated options as
306fa1
 customary for the
306fa1
 .BR mount (8)
306fa1
-command. There are two special options
306fa1
-.I -fstype=
306fa1
-used to specify a filesystem type if the filesystem is not of the default
306fa1
+command.
306fa1
+
306fa1
+There are several special options
306fa1
+.RS
306fa1
+.TP
306fa1
+.B -fstype=
306fa1
+.br
306fa1
+is used to specify a filesystem type if the filesystem is not of the default
306fa1
 NFS type.  This option is processed by the automounter and not by the mount
306fa1
 command.
306fa1
-.I -strict
306fa1
+.TP
306fa1
+.B -strict
306fa1
+.br
306fa1
 is used to treat errors when mounting file systems as fatal. This is important when
306fa1
 multiple file systems should be mounted (`multi-mounts'). 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
-.I -use-weight-only
306fa1
+.TP
306fa1
+.B -use-weight-only
306fa1
+.br
306fa1
 is used to make the weight the sole factor in selecting a server when multiple
306fa1
 servers are present in a map entry.
306fa1
 and
306fa1
-.I -no-use-weight-only
306fa1
+.TP
306fa1
+.B -no-use-weight-only
306fa1
+.br
306fa1
 can be used to negate the option if it is present in the master map entry
306fa1
 for the map but is not wanted for the given mount.
306fa1
-
306fa1
-.SS location
306fa1
+.RE
306fa1
+.TP
306fa1
+.B location
306fa1
 The location specifies from where the file system is to be mounted.  In the
306fa1
 most cases this will be an NFS volume and the usual notation
306fa1
 .I host:pathname
306fa1
@@ -227,7 +241,6 @@ Anything else is questionable and unsupp
306fa1
 <path> host1(3),host:/blah
306fa1
 .fi
306fa1
 .RE
306fa1
-.sp
306fa1
 .SH UNSUPPORTED
306fa1
 This version of the automounter supports direct maps stored in FILE, NIS, NISPLUS
306fa1
 and LDAP only.