Page MenuHomeFreeBSD

libbe(3): Allow boot environments to be defined on the root of the pool
Needs ReviewPublic

Authored by jwmaag_gmail.com on Fri, Jun 4, 1:04 PM.

Details

Summary

Also validates the BE root by checking if every child dataset is either
mountpoint '/' or none.

PR: 253445

Test Plan

bectl -r testpool list

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 39743
Build 36632: arc lint + arc unit

Event Timeline

Seems fine in principle, I had to do a refresher on whether zfs_iter_filesystems tried to recurse or not but it looks right (non-recursive).

lib/libbe/be.c
175

Space after if, same below and one above here