]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkzone: add report capacity command
authorHans Holmberg <hans.holmberg@wdc.com>
Fri, 11 Sep 2020 08:47:23 +0000 (10:47 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 11 Sep 2020 10:28:19 +0000 (12:28 +0200)
commit049859a6df0b2f0d2a7dcb3a7b13f18bfbc675a9
tree7dab63c14e5c4d5b2a063d2318fd24aeaca5dc7a
parentdf09e21c244fd438c73aad12720993c6536ad009
blkzone: add report capacity command

Add a command that answers the the question:
"How much data can I store on this device/in this range of zones?"

Implement this by summing up zone capacities over the given range.

Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
sys-utils/blkzone.8
sys-utils/blkzone.c