This series replaces the current ad-hoc parsing of block device names entirely with generic lookups in sysfs. This should fix several bugs in support for multi-disk devices with MODULES=dep.
I've tested that this works with LVM on virtio, RAID-0 on virtio, LVM on md on virtio, and RAID-0 on virtio+SCSI (which previously required MODULES=most). Ben. Ben Hutchings (6): sripts/local: Remove obsolete hint about ATA device renaming hook-functions: Fold sys_walk_modalias into sys_walk_mod_add hook-functions: Split block device sysfs lookup into a separate function hook-functions: Remove loop-aes support hook-functions: Rewrite block device sysfs lookup to be generic hook-functions: Include modules for all components of a multi-disk device hook-functions | 167 ++++++++++++++++++--------------------------------------- scripts/local | 19 ------- 2 files changed, 51 insertions(+), 135 deletions(-) -- Ben Hutchings Life would be so much easier if we could look at the source code.
signature.asc
Description: This is a digitally signed message part