You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
blockdev: Use -b for lsblk, hard require size property
I noticed that the JSON format inconsistently uses human-readable
sizes for some properties, but not others. `size` happens to
be one of the ones were it outputs human readable. But I think
we will often want to operate on the raw byte value on our
own, so let's tell lsblk to just give us raw numbers and
do formatting where needed.
While we're here, just hard require the `size` property.
I don't think any block devices can be missing this.
Signed-off-by: Colin Walters <[email protected]>
0 commit comments