Re: zfsboot patch for /usr

From: Allan Jude <allanjude_at_freebsd.org>
Date: Wed, 9 Mar 2016 20:39:36 -0500
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
Received on Thu Mar 10 2016 - 00:47:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC