zfsboot patch for /usr
Allan Jude
allanjude at freebsd.org
Thu Mar 10 01:47:56 UTC 2016
On 03/09/2016 18:36, Roger Marquis wrote:
> Wondering if anyone has example patches for zfsboot (from
> usr.sbin/bsdinstall/scripts)?
>
> We're looking to change some of the default zfs subvolumes, removing /usr in
> favor of /usr/local in particular, and have run into a "parent does not exist"
> issue. It's not clear where in the script the /usr parent dir should be
> mkdir'd.
>
> Roger
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
You don't mkdir it, you create it as a ZFS dataset, and mark it with the
'canmount=no' property, so it only exists to be a parent, not as an
actual dataset. This is the default in zfboot currently.
--
Allan Jude
More information about the freebsd-current
mailing list