]> err.no Git - util-linux/commit
mount: fsprobe: make fsprobe_get_devname functions more generic
authorKarel Zak <kzak@redhat.com>
Mon, 14 May 2007 12:31:28 +0000 (14:31 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 17 May 2007 10:10:18 +0000 (12:10 +0200)
commit65a567e837338052ab0714ee5eab925d74f4a6c1
tree454d9a6c8ca8ee7c5ae9a9d4a9085af3f396c8df
parent950f648f8a773359bbec7f30820c9b3159e66e1c
mount: fsprobe: make fsprobe_get_devname functions more generic

The blkid supports NAME=value parsing, but use the library for
this simple task is overkill. (The libblkid requires initialized
blkid cache all time, for all calls.)

This patch makes the fsprobe_get_devname_for_mounting() and
fsprobe_get_devname() generic for all fsprobe implementations.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/Makefile.am
mount/fsprobe.c
mount/fsprobe_blkid.c
mount/sundries.c
mount/sundries.h
mount/swapon.c