diff options
author | Karel Zak | 2011-03-17 12:51:06 +0100 |
---|---|---|
committer | Karel Zak | 2011-03-17 12:51:06 +0100 |
commit | 5298f72839cb44e2ae9d4407375674ba50f9b1c0 (patch) | |
tree | ec266edf30588e50a522cf8a098d9af1d02d2edb /shlibs/blkid/src/blkid.sym | |
parent | lib: [fsprobe.c] remove obsolete <blkid/blkid.h> (diff) | |
download | kernel-qcow2-util-linux-5298f72839cb44e2ae9d4407375674ba50f9b1c0.tar.gz kernel-qcow2-util-linux-5298f72839cb44e2ae9d4407375674ba50f9b1c0.tar.xz kernel-qcow2-util-linux-5298f72839cb44e2ae9d4407375674ba50f9b1c0.zip |
libblkid: add blkid_evaluate_spec()
The function blkid_evaluate_tag() is useful for tags only (e.g.
LABEL=foo). But we also need to address devices by tags OR paths in
many utils.
The function blkid_evaluate_spec() support this functionality without
extra care about the way how device is addressed. The tags as well as
paths are converted to the standardized device path.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/blkid.sym')
-rw-r--r-- | shlibs/blkid/src/blkid.sym | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/shlibs/blkid/src/blkid.sym b/shlibs/blkid/src/blkid.sym index 9df2ba3d3..e758ff1a6 100644 --- a/shlibs/blkid/src/blkid.sym +++ b/shlibs/blkid/src/blkid.sym @@ -39,7 +39,7 @@ local: /* - * version(s) since util-linux 2.15 + * symbols since util-linux 2.15 */ BLKID_2.15 { global: @@ -67,7 +67,7 @@ global: } BLKID_1.0; /* - * version(s) since util-linux 2.17 + * symbols since util-linux 2.17 */ BLKID_2.17 { global: @@ -117,7 +117,7 @@ global: } BLKID_2.15; /* - * version(s) since util-linux 2.18 + * symbols since util-linux 2.18 */ BLKID_2.18 { global: @@ -130,3 +130,12 @@ global: blkid_probe_get_wholedisk_devno; blkid_probe_is_wholedisk; } BLKID_2.17; + +/* + * symbols since util-linux 2.20 + */ +BLKID_2.20 { +global: + blkid_evaluate_spec; +} BLKID_2.18; + |