mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <rmacklem@FreeBSD.org> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Reviewed-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
+13
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user