]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: add FSSIZE implementation for btrfs and ext
authorAndrey Albershteyn <aalbersh@redhat.com>
Fri, 27 May 2022 11:57:14 +0000 (13:57 +0200)
committerAndrey Albershteyn <aalbersh@redhat.com>
Thu, 2 Jun 2022 09:31:08 +0000 (11:31 +0200)
commitd9d9a709ce6f22d4fbd09986d1372b3c06374e47
treee81b76b7b5134dbde3de82001b23c2a105c508a5
parent9e33a15b59a2a5fef0254f335a2985752c6cbb5a
libblkid: add FSSIZE implementation for btrfs and ext

The implementation does not take into account complete metadata
overhead. The BTRFS one doesn't consider redundant data in RAID
configuration. The ext one doesn't take into account file system
overhead.

Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>
libblkid/src/superblocks/btrfs.c
libblkid/src/superblocks/ext.c
libblkid/src/superblocks/superblocks.c
tests/expected/blkid/low-probe-btrfs
tests/expected/blkid/low-probe-ext2
tests/expected/blkid/low-probe-ext3
tests/expected/blkid/low-probe-jbd