Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/autofs .Li is superfluous inside .Bd -literal
details: https://anonhg.NetBSD.org/src/rev/7cf2147aafda
branches: trunk
changeset: 359018:7cf2147aafda
user: uwe <uwe%NetBSD.org@localhost>
date: Thu Jan 25 19:15:10 2018 +0000
description:
.Li is superfluous inside .Bd -literal
diffstat:
usr.sbin/autofs/auto_master.5 | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diffs (77 lines):
diff -r 45415a710dc1 -r 7cf2147aafda usr.sbin/autofs/auto_master.5
--- a/usr.sbin/autofs/auto_master.5 Thu Jan 25 18:56:17 2018 +0000
+++ b/usr.sbin/autofs/auto_master.5 Thu Jan 25 19:15:10 2018 +0000
@@ -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 @@
.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 @@
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 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
Home |
Main Index |
Thread Index |
Old Index