beadm-friendly zroot

Victor Sudakov vas at
Tue Jan 16 02:49:41 UTC 2018

Dear Colleagues,

The modern bsdinstall creates a boot environment (BE) friendly root
zpool, where some datasets have a tricky composition of options
(mountpoint, canmount etc). 

I understand the general theory behind this (a BE should include only
system files and not user files), so for example zroot/usr gets into a 
BE but zroot/usr/home does not.

My question is where can I read a document (or study a script) which
creates all those datasets with necessary options for setting up a
BE-friendly root zpool?

Something like /usr/libexec/bsdinstall/zfsboot around "Default ZFS datasets for root zpool" 
but with a better description and learning value.

Thanks in advance!

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN

More information about the freebsd-questions mailing list