I had a look at the problem of finding the devices representing the
partitions of a block device, and it's a messy problem. There are a
lot of different conventions that are used depending on what kind of
device is partitioned. The following patch seems like a promising
approach, but before I spend a bunch of time testing that it works in
a variety of cases, I thought I should send it out for comment.
Dave
David Allan (1):
RFC: Canonicalize block device paths
src/Makefile.am | 9 +++++++--
src/storage/parthelper.c | 35 +++++++++++++++++++++++++++++++++--
2 files changed, 40 insertions(+), 4 deletions(-)