Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2024 13:06:52 -0700
From:      Rick Macklem <rick.macklem@gmail.com>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Multiple exports(5) lines generated by ZFS's sharenfs property (patch for review)
Message-ID:  <CAM5tNy6b6-o4M-0TymA-D3fKAm7cRRYdHu_H2fv0aHOwC6F2rA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I just put a patch on phabricator (D45814) that adds support for multiple
sets of options for different hosts/networks to the ZFS sharenfs property.
(It is based loosely on a patch in bugzilla PR#147881, now 14 years old.)

I have listed a couple of reviewers, but please feel free to review it as well.
(It will eventually need to become a pull request for OpenZFS, but I'd like
to run it past FreeBSD'ers first.)

The sets are separated by ';'s. One question is whether ';'s separated by
only whitespace should be allowed. If allowed they generate a "default"
exports line that exports the file system to the world with default options,
such as read/write.
The patch currently on phabricator allows this, but I am thinking that it
should not do so.
--> The default case could still be specified as it is now, as a single set
     of options without any ';'s in the sharenfs property.

Thanks in advance for any reviews, rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM5tNy6b6-o4M-0TymA-D3fKAm7cRRYdHu_H2fv0aHOwC6F2rA>