]> err.no Git - util-linux/commit
mount: generic blkid/volume_id wrapper, use blkid_evaluate_*
authorKarel Zak <kzak@redhat.com>
Tue, 17 Feb 2009 00:01:35 +0000 (01:01 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 17 Feb 2009 00:18:22 +0000 (01:18 +0100)
commit17f29d7bac86dc6e42c8ea728a2b7d1dc873b3dc
tree60261cb64ad167a98e193f43e7e9f23de2319349
parent4b921045e57b61df78f552f76227d2a0d528426d
mount: generic blkid/volume_id wrapper, use blkid_evaluate_*

 * moves the generic libblkid/libvolume_id wrapper (fsprobe.c) from
   mount/ to lib/. We'll use the wrapper in cfdisk and fsck.

   The wrapper supports:

    - obsolete volume_id (udev)
    - obsolete libblkid (e2fsprogs)
    - libblkid (util-linux-ng)

 * mount, umount and swapon when linked against the new libblkid use

    - low-level probing code to read LABEL, UUID or FSTYPE from a device
    - high-level blkid_evaluate_spec() to convert LABEL/UUID to devname

Signed-off-by: Karel Zak <kzak@redhat.com>
15 files changed:
configure.ac
include/fsprobe.h [new file with mode: 0644]
lib/fsprobe.c [new file with mode: 0644]
mount/Makefile.am
mount/devname.c [new file with mode: 0644]
mount/devname.h [new file with mode: 0644]
mount/fsprobe.c [deleted file]
mount/fsprobe.h [deleted file]
mount/fsprobe_blkid.c [deleted file]
mount/fsprobe_volumeid.c [deleted file]
mount/fstab.c
mount/mount.c
mount/sundries.c
mount/sundries.h
mount/swapon.c