summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/blkidP.h
diff options
context:
space:
mode:
authorCorentin Chary2009-08-24 13:11:54 +0200
committerKarel Zak2009-09-24 15:42:48 +0200
commitc1ba7962f60672be37f41a5d01c10acf46442f2e (patch)
tree3aa18255f8bcf7f2ce0178fd73a68be62b4ff2e4 /shlibs/blkid/src/blkidP.h
parentblkid: allow to use -s <TAG> for low-level probing (-p mode) (diff)
downloadkernel-qcow2-util-linux-c1ba7962f60672be37f41a5d01c10acf46442f2e.tar.gz
kernel-qcow2-util-linux-c1ba7962f60672be37f41a5d01c10acf46442f2e.tar.xz
kernel-qcow2-util-linux-c1ba7962f60672be37f41a5d01c10acf46442f2e.zip
libblkid: add UBI volume support
Probe UBI volume under /dev (or /devfs, /devices). ubi_ctrl skip is hardcoded, maybe we should find a cleaner way to do that. Also change probe.c to handle char devices. [kzak@redhat.com: - rebase the patch to the current HEAD] Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/blkidP.h')
-rw-r--r--shlibs/blkid/src/blkidP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h
index 40002c5c6..68116c0ca 100644
--- a/shlibs/blkid/src/blkidP.h
+++ b/shlibs/blkid/src/blkidP.h
@@ -294,6 +294,7 @@ extern char *blkid_strndup(const char *s, const int length);
/*
* Priority settings for different types of devices
*/
+#define BLKID_PRI_UBI 50
#define BLKID_PRI_DM 40
#define BLKID_PRI_EVMS 30
#define BLKID_PRI_LVM 20