Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
zfs create -o mountpoint=none system/ROOT
zfs create -o mountpoint=none system/data
zfs rename system/rootfs system/ROOT/default
zfs rename system/tmp system/ROOT/default/tmp
zfs rename system/usr system/ROOT/default/usr
zfs rename system/usr/home system/data/homes
zfs rename system/usr/local/pgsql system/data/pgsql
zfs rename system/usr/obj system/ROOT/default/usr/obj
zfs rename system/usr/ports system/data/ports
zfs rename system/usr/ports/distfiles system/data/ports/distfiles
zfs rename system/usr/src sytem/ROOT/default/usr/src
zfs rename system/var system/ROOT/default/var
# Might want to stick audit in system/data. Not sure
zfs rename system/var/audit system/ROOT/default/var/audit
zfs rename system/var/empty system/ROOT/default/var/empty
zfs rename system/var/log system/ROOT/default/var/log
zfs rename system/var/tmp system/ROOT/default/var/tmp
zfs inherit -r mountpoint system/ROOT
zfs set mountpoint=/ system/ROOT
zfs inherit -r mountpoint system/data
zfs set mountpoint=/usr/home system/data/homes
zfs set mountpoint=/usr/ports system/data/ports
zfs set mountpoint=/usr/local/pgsql system/data/pgsql
@keltia

This comment has been minimized.

Copy link

keltia commented Mar 8, 2015

isn't setting the bootfsproperty enough for /?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.