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

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