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

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