e2fsprogs/lib/blkid
Karel Zak 46f3eeca59 blkid: use /sys/block/dm-<N>/dm/name
The Linux kernel (since 2.6.29, patch 784aae735d9b0bba3f8b9faef4c8b30df3bf0128)
exports the real DM device names in /sys/block/<ptname>/dm/name.

The sysfs based solution is nicer and faster than scan for devno in
/dev/mapper/.

CC: Milan Broz <mbroz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2009-05-02 22:39:20 -04:00
..
tests Add ZFS test image to blkid test suite 2008-07-07 15:13:09 -04:00
Makefile.in Remove use of devmapper library by the blkid library 2008-08-26 23:56:00 -04:00
blkid.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
blkid.pc.in Fix pkg-config files: use Requires.private and fix the include directory 2008-09-02 21:20:44 -04:00
blkidP.h libblkid: Unexport the private symbol blkid_devdirs 2008-08-27 00:00:44 -04:00
blkid_types.h.in Fix asm_types.h type conflicts 2006-04-09 08:41:55 -04:00
cache.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
dev.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
devname.c blkid: use /sys/block/dm-<N>/dm/name 2009-05-02 22:39:20 -04:00
devno.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
getsize.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
libblkid.3.in libblkid: On the man page, replace empty references with an existing one. 2008-08-14 13:31:37 -04:00
list.h Fix up lots of portability problems that caused e2fsprogs not to build successfully 2003-03-06 11:09:18 -05:00
llseek.c Use lseek() instead of llseek() of sizeof(long) == sizeof(long long) 2008-01-27 00:35:32 -05:00
probe.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
probe.h blkid: recognize btrfs 2009-01-20 00:57:59 -05:00
read.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
resolve.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
save.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
tag.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
test_probe.in blkid: Make regression test tolerate older versions of mkswap 2008-07-10 08:52:50 -04:00
tst_types.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
version.c Add functions which allow an application program to do a run-time query 2005-01-26 13:16:06 -05:00