summaryrefslogtreecommitdiffstats
path: root/tests/ts/blkid
diff options
context:
space:
mode:
authorRafał Miłecki2017-08-02 14:14:18 +0200
committerKarel Zak2017-08-03 14:11:21 +0200
commita6b1ec864a3eb1d27a8781fe99d65e4e6ac05e5b (patch)
tree941624a9a450b729ddf8ad4265dd50cabf6d78bc /tests/ts/blkid
parentbuild-sys: support ncursesw without headers in ncursesw/ directory (diff)
downloadkernel-qcow2-util-linux-a6b1ec864a3eb1d27a8781fe99d65e4e6ac05e5b.tar.gz
kernel-qcow2-util-linux-a6b1ec864a3eb1d27a8781fe99d65e4e6ac05e5b.tar.xz
kernel-qcow2-util-linux-a6b1ec864a3eb1d27a8781fe99d65e4e6ac05e5b.zip
libblkid: add support for UBI superblock
UBI is a volume management system that can be used on a raw flash partition for providing multiple logical volumes. Detecting UBI superblock may be useful for tools wanting to simplify or automate attaching UBI. Please note it's not directly related to the ubifs support which is just a filesystem working on top of UBI volume. In other words: UBI can be used on MTD partition (e.g. /dev/mtdblock0) while ubifs can be used on UBI volume (e.g. /dev/ubi0_0). This patch adds simple code reading UBI version and unique number and setting it in the blkid_probe. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tests/ts/blkid')
-rw-r--r--tests/ts/blkid/images-fs/ubi.img.xzbin0 -> 136 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/ts/blkid/images-fs/ubi.img.xz b/tests/ts/blkid/images-fs/ubi.img.xz
new file mode 100644
index 000000000..ed3b3f426
--- /dev/null
+++ b/tests/ts/blkid/images-fs/ubi.img.xz
Binary files differ