Hi, Here is some patchs to add support for UBI and UBIFS in libblkid. UBIFS works on top of UBI volumes, there are 3 subsystems involved: * MTD subsystem, which provides uniform interface to access flash chips. MTD provides an notion of MTD devices (e.g., /dev/mtd0) which basically represents raw flash; * UBI subsystem, which is a wear-leveling and volume management system for flash devices; UBI works on top of MTD devices and provides a notion of UBI volumes (e.g.m /dev/ubi0_0); * UBIFS file system, which works on top of UBI volumes. The first patch add support for UBI volumes, which are represented as char devices in /dev/. This allow to probe for UBIFS filesystem on UBI volumes. Thanks, Corentin Chary (3): blkid: add UBI volume support blkid: add ubifs support blkid: add UBIFS test image to blkid test suite shlibs/blkid/src/blkidP.h | 1 + shlibs/blkid/src/devname.c | 56 +++++++++++++++- shlibs/blkid/src/probe.c | 5 +- shlibs/blkid/src/probers/Makefile.am | 3 +- shlibs/blkid/src/probers/probers.h | 1 + shlibs/blkid/src/probers/ubifs.c | 122 ++++++++++++++++++++++++++++++++++ tests/expected/blkid/low-probe-ubifs | 5 ++ tests/ts/blkid/images/ubifs.img.bz2 | Bin 0 -> 937 bytes 8 files changed, 190 insertions(+), 3 deletions(-) create mode 100644 shlibs/blkid/src/probers/ubifs.c create mode 100644 tests/expected/blkid/low-probe-ubifs create mode 100644 tests/ts/blkid/images/ubifs.img.bz2 -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html