On 04/20/2011 01:05 AM, David Cantrell wrote:
I was hitting this today. The /dev/mapper/vg*-lv* names were getting
translated to /sys/class/block/mapper!vg*-lv*.
---
get_sysfs_path_by_name() will not work for the named aliases of
device-mapper devices. There are no /syc/class/block/mapper/vg*-lv*
files, there are only
/sys/class/block/dm-* files.
You can take a look at storage/formats/__init__.py at how we call
get_sysfs_path_by_name(), we try to get the real device node from the dm
name using dm_node_from_name() first.
There should be an assert in get_sysfs_path_by_name() stating that
/dev/mapper/* parameters are not passed in.
Ales
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list