Closed probonopd closed 3 years ago
On FreeBSD 13 when running from the non-zfs Live system, we now get:
So this needs to be fixed!
Should check, e.g.,
FreeBSD% mount
zroot/ROOT/updated-default on / (zfs, local, noatime, nfsv4acls)
Only if the string '(/zfs,appears in the mount output line for
/` should we attempt to create a Boot Environment.
import psutil
def is_root_zfs():
for part in psutil.disk_partitions():
if part.mountpoint == '/':
if part.fstype == "zfs":
return True
else:
return False
print(is_root_zfs())
Only create boot environment if the root device actually is zfs.
Currently it stalls on "Creating Boot Environment..." forever on non-zfs systems, such our next-gen live system which is not using zfs.