aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorrmacklem <[email protected]>2024-07-23 16:38:19 -0700
committerGitHub <[email protected]>2024-07-23 16:38:19 -0700
commitdbe07928badfddce2879ab0e5cdb7a119ba69c0b (patch)
tree590b1178eccb2ea63c24a0a18885155cf472333a /man
parentfb6d8cf229c308ef63424bf81221966438327bb0 (diff)
Add support for multiple lines to the sharenfs property for FreeBSD (#16338)
There has been a bugzilla PR#147881 requesting this for a long time (14 years!). It extends the syntax of the ZFS shanenfs property (for FreeBSD only) to allow multiple sets of options for different hosts/nets, separated by ';'s. Signed-off-by: Rick Macklem <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Reviewed-by: Tony Hutter <[email protected]>
Diffstat (limited to 'man')
-rw-r--r--man/man7/zfsprops.714
1 files changed, 13 insertions, 1 deletions
diff --git a/man/man7/zfsprops.7 b/man/man7/zfsprops.7
index 429369bd2..f7026119b 100644
--- a/man/man7/zfsprops.7
+++ b/man/man7/zfsprops.7
@@ -38,7 +38,7 @@
.\" Copyright (c) 2019, Kjeld Schouten-Lebbing
.\" Copyright (c) 2022 Hewlett Packard Enterprise Development LP.
.\"
-.Dd August 8, 2023
+.Dd June 29, 2024
.Dt ZFSPROPS 7
.Os
.
@@ -1727,6 +1727,18 @@ Please note that the options are comma-separated, unlike those found in
This is done to negate the need for quoting, as well as to make parsing
with scripts easier.
.Pp
+For
+.Fx ,
+there may be multiple sets of options separated by semicolon(s).
+Each set of options must apply to different hosts or networks and each
+set of options will create a separate line for
+.Xr exports 5 .
+Any semicolon separated option set that consists entirely of whitespace
+will be ignored.
+This use of semicolons is only for
+.Fx
+at this time.
+.Pp
See
.Xr exports 5
for the meaning of the default options.