Boot environments and zfs canmount=noauto

Randy Westlund rwestlun at gmail.com
Thu Jul 28 19:48:27 UTC 2016


On Thu, Jul 28, 2016 at 01:34:03PM +0300, Andriy Gapon wrote:
> Locally I have the following rc script to handle subordinate datasets of
> a boot environment: http://dpaste.com/0Q0JPGN.txt
> It is designed for exactly the scenario described above.
> The script is automatically enabled when zfs_enable is enabled.
> 
> It would probably make sense to include the script into the OS after
> some testing and a review.

Awesome, thanks.  I'll play with this over the weekend.

Maybe someday we'll be able to set something like canmount=with-parent,
which could be like noauto, except that it would mount when its parent
mounts.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160728/fc916844/attachment.sig>


More information about the freebsd-current mailing list