r/freebsd • Claude user • Sep 30 '26

news pkg-be-plugin – plugin for pkg(8) to auto-create ZFS boot environments

https://www.freshports.org/ports-mgmt/pkg-be-plugin/

pkg-be-plugin is a pkg(8) plugin that automatically creates a ZFS boot environment before each install, upgrade, or deinstall transaction. If a transaction leaves the system in a broken state, the pre-transaction BE provides a clean rollback point.
 
The plugin uses libbe(3) directly with no subprocess invocations of bectl(8) or zfs(8). Boot environments are pruned automatically based on a configurable keep count and minimum age. …

usenix17/pkg-be-plugin

Via https://bsd.network/@dvl/117354088901529257 u/dlangille

26 Upvotes

3 comments sorted by

1

u/taosecurity seasoned user Sep 30 '26

Interesting! Would something like this end up in base?

1

u/grahamperrin Claude user Sep 30 '26

I imagine not.

3

u/Sad-Year-1312 Sep 30 '26

The author is super receptive to improvements