vermaden/beadm

Calculating Boot Environment space

Opened this issue · 1 comments

Hello. I have started using beadm and it's awesome. I however was confused about the space which beadm shows and wanted to know the reasoning behind it.
Why do we include the size of a zfs file system's origin ( if D is not specified ) with beadm list ? This initially had me confused as it showed that the sum of all the spaces for my boot environment actually exceeds the pool's size but then looking at the code, this is of course intentional.
Looking forward to hearing from you on this, thank you!

Hi,

the idea (without -D) is that for the active/booted BE its size is displayed and for other BE's the difference in size between that active BE is displayed. So you know how much space these differences actually take.

Regards,
vermaden