Sign in

← Software

Boot environments (beadm/libbe) and the illumos loader's feature list

titleBoot environments (beadm/libbe) and the illumos loader's feature list
recommendationinclude
directionillumos-only
areaintegration
feature flag
openzfs version
summaryillumos ships beadm/libbe/libzfsbootenv, and its loader (usr/src/boot/libsa/zfs/zfsimpl.c) can read 19 pool features. It cannot read zstd, blake3, livelist, block_cloning or any newer feature. OpenZFS relies on external boot loaders (GRUB 2.12 compat set, ZFSBootMenu).
impactSolnix generations use boot environments. Any new read-incompatible feature must also be taught to the loader before it can be active on a root pool; root pools should stay within the loader's list.
whyBEs are central to Solnix's generations model. Count loader work into every feature port (zstd already has 15787).
effortmedium
sourceshttps://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/boot/libsa/zfs/zfsimpl.c
https://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/cmd/zpool/compatibility.d/grub2-2.12
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/lib/libbe
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/cmd/beadm
https://www.illumos.org/issues/15787

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.