extlinux: better methods for finding device matches
commit0b49326e70074030a9d416d36264fe859cc16328
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 20 Jun 2012 00:41:15 +0000 (19 17:41 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 20 Jun 2012 00:41:15 +0000 (19 17:41 -0700)
tree51e8eb4e89f6236080e3d01f6eb19b18c73f77e6
parent753ab4bde224205876f09889ce928acb3682ba73
extlinux: better methods for finding device matches

1. Support parsing /proc/self/mountinfo for devices;
2. For btrfs, query the device names from btrfs itself.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
extlinux/Makefile
extlinux/btrfs.h
extlinux/main.c
extlinux/mountinfo.c [new file with mode: 0644]
extlinux/mountinfo.h [new file with mode: 0644]