Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2013 11:31:42 +0000
From:      Anton Sayetsky <>
Subject:   [zfs] root mountpoint
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
I decided to install FreeBSD on ZFS root. In almost all guides i saw
the following recommendation:
zpool create -o altroot=/mnt zroot /dev/${device}
zfs create zroot/var
zfs create ...
zfs set mountpoint=legacy zroot
zfs set mountpoint=/var zroot/var
zfs set mountpount=...

So we're setting mountpoins for all first-level childs of zroot.

Why just don't use the following simpler setup, when mountpoint set only once:
zpool create -o altroot=/mnt zroot /dev${device}
zfs set mountpoint=/ zroot
zfs create zroot/var
zfs create ...

I've tested both ways, the second also works perfectly but requires
less commands to enter. Can anybody explain me why I can't see
recommendations to set mountpoint=/ for zroot instead of

Want to link to this message? Use this URL: <>