I wish #Illumos 'beadm list' had the option for easily script-parseable output for eg 'current BE' and 'next active BE' and so on.
@thatcks Something akin to "beadm list | egrep 'R|N|NR'" but in convenient command-option form?
-
@kebesays So my rule is 'if it's human oriented output it's not stable unless it's explicitly documented'. Scripts are left up the river. -
@kebesays 'beadm list' output probably hasn't changed yet, but we've been bitten by having to parse 'zpool status' output and it changed. -
@kebesays Yeah. You can get the info out of 'beadm list' but it requires extra processing and isn't a stable interface. -
@thatcks Better: Both: beadm list -H | egrep ";NR;|;R;|;N;" Active: beadm list -H | egrep ";NR;|;N;" Next: beadm list -H | egrep ";NR;|;R;"
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Chris Siebenmann
Dan McDonald