summaryrefslogtreecommitdiff
path: root/mount/fsprobe_blkid.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2007-05-10 01:47:28 +0200
committerKarel Zak <kzak@redhat.com>2007-05-17 12:10:17 +0200
commit9053b8a10dbce2ec441df906c5cc4dbb4e048e46 (patch)
treede4288302ec29e0381e3c07050acce5d92ecfd7c /mount/fsprobe_blkid.c
parent3d823454c69a519965c2cc9bb53a74bf54c2683c (diff)
downloadutil-linux-old-9053b8a10dbce2ec441df906c5cc4dbb4e048e46.tar.gz
mount: fsprobe: remove mount_guess_fstype.{c,h}
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/fsprobe_blkid.c')
-rw-r--r--mount/fsprobe_blkid.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mount/fsprobe_blkid.c b/mount/fsprobe_blkid.c
index 9ff4e31c..7f8c3624 100644
--- a/mount/fsprobe_blkid.c
+++ b/mount/fsprobe_blkid.c
@@ -41,4 +41,15 @@ mount_get_devname_for_mounting(const char *spec) {
return blkid_get_devname(blkid, spec, 0);
}
+int
+fsprobe_known_fstype(const char *fstype)
+{
+ return blkid_known_fstype(fstype);
+}
+
+const char *
+fsprobe_get_fstype_by_devname(const char *devname) {
+ return blkid_get_tag_value(blkid, "TYPE", devname);
+}
+
#endif