]> err.no Git - util-linux/commit
mount: and libblkid: covert /dev/dm-N to /dev/mapper/<name>
authorKarel Zak <kzak@redhat.com>
Mon, 26 Oct 2009 12:33:03 +0000 (13:33 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Oct 2009 12:33:03 +0000 (13:33 +0100)
commita992137b7b8720600c99917af87f0e4cddad8682
tree58a399775862e76292e5673c75e4c89b8280bd42
parent4c8e837230bb96dc3c447706d9c3b11e4167ba13
mount: and libblkid: covert /dev/dm-N to /dev/mapper/<name>

 * mount(8) uses private device-mapper names in mtab

 * libblkid returns private device-mapper names when evaluate udev
   /dev/disk-by symlinks.

 * on systems where DM is fully integrated with udev the /dev/mapper/<name>
   files are symlinks to /dev/dm-N. It means we need a special care to hide
   private device-mapper names.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/canonicalize.h
lib/canonicalize.c
shlibs/blkid/src/devname.c