zfsboot patch for /usr

Matthew Seaman matthew at FreeBSD.org
Thu Mar 10 08:20:50 UTC 2016


On 10/03/2016 01:02, Freddie Cash wrote:
> Set mountpoint=none if you just want to create the parent dataset without
> actually using it for storage. Then you can set properties on it, and child
> datasets will inherit then. Like pool/usr/local

Usually, you want the mountpoint to be one of the inherited properties
-- so set canmount=off instead.

This pattern is used by default already in the installer.  The root
filesystem is created as a BE under zroot/ROOT/default/ but there is
also a zroot/var which has canmount=off to act as a parent to
zroot/var/logs, zroot/var/mail etc. which are not part of the boot
environment but are mounted in the expected locations under /var

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160310/434a5ba9/attachment.sig>


More information about the freebsd-current mailing list