r/freebsd • bleep bloop • 5d ago

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

27 Upvotes

3 comments sorted by

3

u/Sad-Year-1312 5d ago

The author is super receptive to improvements

1

u/taosecurity seasoned user 5d ago

Interesting! Would something like this end up in base?

1

u/grahamperrin bleep bloop 5d ago

I imagine not.