Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2016 20:39:36 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: zfsboot patch for /usr
Message-ID:  <56E0D058.2070608@freebsd.org>
In-Reply-To: <20160309233636.880D0D1F0@mx1.scaleengine.net>
References:  <20160309233636.880D0D1F0@mx1.scaleengine.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56E0D058.2070608>