summaryrefslogtreecommitdiffstats
path: root/usr.bin/showmount/showmount.8
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-03-23 12:13:53 +0000
committertrasz <trasz@FreeBSD.org>2016-03-23 12:13:53 +0000
commit6fee958d289745f0f52dcc0df16858cf7e093d5c (patch)
tree27d180cd2ef5ba04581cc4aeb1f0d24cca04c440 /usr.bin/showmount/showmount.8
parente8766307c36e35dac7110c3d9a523b34a8f05dc5 (diff)
downloadFreeBSD-src-6fee958d289745f0f52dcc0df16858cf7e093d5c.zip
FreeBSD-src-6fee958d289745f0f52dcc0df16858cf7e093d5c.tar.gz
Make the autofs(5) -hosts map more robust, primarily to make it correctly
handle NFS shares containing whitespace. This also adds the -E parameter to showmount(8). Reviewed by: emaste@, jhibbits@, wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5649
Diffstat (limited to 'usr.bin/showmount/showmount.8')
-rw-r--r--usr.bin/showmount/showmount.89
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/showmount/showmount.8 b/usr.bin/showmount/showmount.8
index 2831593..692c6d6 100644
--- a/usr.bin/showmount/showmount.8
+++ b/usr.bin/showmount/showmount.8
@@ -31,7 +31,7 @@
.\" @(#)showmount.8 8.3 (Berkeley) 3/29/95
.\" $FreeBSD$
.\"
-.Dd August 16, 2014
+.Dd March 20, 2016
.Dt SHOWMOUNT 8
.Os
.Sh NAME
@@ -40,6 +40,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl a | d
+.Op Fl E
.Op Fl e
.Op Fl 1
.Op Fl 3
@@ -73,6 +74,12 @@ List all mount points in the form:
.Ed
.It Fl d
List directory paths of mount points instead of hosts.
+.It Fl E
+Show the
+.Ar host Ns 's
+exports list in a script-friendly format.
+Client addresses and the header are not shown, and special
+characters are escaped.
.It Fl e
Show the
.Ar host Ns 's
OpenPOWER on IntegriCloud