Module Name: src
Committed By: uwe
Date: Thu Jan 25 19:15:10 UTC 2018
Modified Files:
src/usr.sbin/autofs: auto_master.5
Log Message:
.Li is superfluous inside .Bd -literal
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/autofs/auto_master.5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/autofs/auto_master.5
diff -u src/usr.sbin/autofs/auto_master.5:1.5 src/usr.sbin/autofs/auto_master.5:1.6
--- src/usr.sbin/autofs/auto_master.5:1.5 Wed Jan 24 12:05:50 2018
+++ src/usr.sbin/autofs/auto_master.5 Thu Jan 25 19:15:10 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: auto_master.5,v 1.5 2018/01/24 12:05:50 uwe Exp $
+.\" $NetBSD: auto_master.5,v 1.6 2018/01/25 19:15:10 uwe Exp $
.\" Copyright (c) 2017 The NetBSD Foundation, Inc.
.\" Copyright (c) 2016 The DragonFly Project
.\" Copyright (c) 2014 The FreeBSD Foundation
@@ -176,14 +176,14 @@ field are replaced with the value of
.Ar key .
This is typically used with wildcards, like:
.Bd -literal -offset indent
-.Li * 192.168.1.1:/share/&
+* 192.168.1.1:/share/&
.Ed
.Pp
The
.Ar location
field may contain references to variables, like:
.Bd -literal -offset indent
-.Li sys 192.168.1.1:/sys/${OSNAME}
+sys 192.168.1.1:/sys/${OSNAME}
.Ed
.Pp
Defined variables are:
@@ -237,18 +237,18 @@ and
mount options, described in
.Xr mount_nfs 8 :
.Bd -literal -offset indent
-.Li x -intr,nfsv4 192.168.1.1:/share/example/x
+x -intr,nfsv4 192.168.1.1:/share/example/x
.Ed
.Pp
Automatically mount an SMB share on access, as a guest user,
without prompting for a password:
.Bd -literal -offset indent
-.Li share -fstype=smbfs,-N ://@server/share
+share -fstype=smbfs,-N ://@server/share
.Ed
.Pp
Automatically mount the CD drive on access:
.Bd -literal -offset indent
-.Li cd -fstype=cd9660 :/dev/cd0
+cd -fstype=cd9660 :/dev/cd0
.Ed
.Sh SPECIAL MAPS
Special maps have names beginning with
@@ -318,23 +318,23 @@ the map entry key with the optional map
The example above could be rewritten using direct map, by placing this in
.Nm :
.Bd -literal -offset indent
-.Li /- auto_example
+/- auto_example
.Ed
.Pp
and this in the
.Pa /etc/auto_example
map file:
.Bd -literal -offset indent
-.Li /example/x -intr,nfsv4 192.168.1.1:/share/example/x
-.Li /example/share -fstype=smbfs,-N ://@server/share
-.Li /example/cd -fstype=cd9660 :/dev/cd0
+/example/x -intr,nfsv4 192.168.1.1:/share/example/x
+/example/share -fstype=smbfs,-N ://@server/share
+/example/cd -fstype=cd9660 :/dev/cd0
.Ed
.Sh DIRECTORY SERVICES
Both
.Nm
and maps may contain entries consisting of a plus sign and map name:
.Bd -literal -offset indent
-.Li +auto_master
++auto_master
.Ed
.Pp
Those entries cause