diff options
author | Rafał Miłecki | 2017-08-02 14:14:18 +0200 |
---|---|---|
committer | Karel Zak | 2017-08-03 14:11:21 +0200 |
commit | a6b1ec864a3eb1d27a8781fe99d65e4e6ac05e5b (patch) | |
tree | 941624a9a450b729ddf8ad4265dd50cabf6d78bc /lib/env.c | |
parent | build-sys: support ncursesw without headers in ncursesw/ directory (diff) | |
download | kernel-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 'lib/env.c')
0 files changed, 0 insertions, 0 deletions