Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2016 01:04:37 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        marquis@roble.com, freebsd-current@freebsd.org
Subject:   Re: zfsboot patch for /usr
Message-ID:  <56E0BA15.50702@quip.cz>
In-Reply-To: <20160309233641.91BEA2849B@elsa.codelab.cz>
References:  <20160309233641.91BEA2849B@elsa.codelab.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Roger Marquis wrote on 03/10/2016 00:36:
> 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.

I no nothing about this script but if you want /usr/local as ZFS 
filesystem, then you need to create parent (/usr in this case) and you 
can use property canmount=off plus different 'mountpoint' (for example 
/mnt/usr) to not mount /usr over existing directory on root filesystem.

Miroslav Lachman



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