]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: mark UBI as RAID
authorKarel Zak <kzak@redhat.com>
Thu, 3 Aug 2017 13:09:06 +0000 (15:09 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 3 Aug 2017 13:31:54 +0000 (15:31 +0200)
commit1266fcf9cf7597c7dfd21a185bce60133d5883c7
tree8efe9709ee6a59dcc4b64747ce0d303e78835e89
parenta6b1ec864a3eb1d27a8781fe99d65e4e6ac05e5b
libblkid: mark UBI as RAID

UBI is volume manager rather than filesystem. Note that libblkid has
optimized RAIDs probing (don't search for another filesystems is RAID
detected). We also don't search for RAIDs on very small devices, but
this optimization is ignored for UBI char devices (size=1byte).

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/superblocks.c
libblkid/src/superblocks/ubi.c
tests/expected/blkid/low-probe-ubi
tests/ts/blkid/images-fs/ubi.img.xz