Date: Wed, 9 Mar 2016 16:20:42 -0800 From: "Roger Marquis" <marquis@roble.com> To: "Miroslav Lachman" <000.fbsd@quip.cz> Cc: freebsd-current@freebsd.org Subject: Re: zfsboot patch for /usr In-Reply-To: <56E0BA15.50702@quip.cz> References: <20160309233641.91BEA2849B@elsa.codelab.cz> <56E0BA15.50702@quip.cz>
| previous in thread | raw e-mail | index | archive | help
> 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. Exactly, but in our case we don't want a separate partition for /usr (never understood why anyone would since 1GB drives became affordable). As a beadm user I'm also assuming a rollback-able boot image would need to include /usr in the root filesystem. To do this in bsdinstall/scripts/zfsboot requires a 'mkdir' instead of 'zfs create'. Looks like it might be a matter of copying the $MKDIR_P around line 1125 but am testing that now. Roger
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>