summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-03-22 15:59:26 +0000
committerbdrewery <bdrewery@FreeBSD.org>2014-03-22 15:59:26 +0000
commit841158cbfbfc6b699dbc10892c6cb878a66a5d7e (patch)
tree0ca2b7bef0a9badf7fb712861207894e6172a472
parent27bcbecb3424c1b23f6398bd1bd5652b2867ea6b (diff)
downloadFreeBSD-src-841158cbfbfc6b699dbc10892c6cb878a66a5d7e.zip
FreeBSD-src-841158cbfbfc6b699dbc10892c6cb878a66a5d7e.tar.gz
Create a root dataset so that /root is outside of the boot environment.
Discussed with: dteske on sysinstall@ MFC after: 1 month
-rwxr-xr-xusr.sbin/bsdinstall/scripts/zfsboot2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index e1102b6..721cd9a 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -129,6 +129,8 @@ f_isset ZFSBOOT_DATASETS || ZFSBOOT_DATASETS="
# Home directories separated so they are common to all BEs
/usr/home # NB: /home is a symlink to /usr/home
+ /root mountpoint=/root
+
# Ports tree
/usr/ports compression=lz4,setuid=off
OpenPOWER on IntegriCloud