Browse Source

95dasd_rules: Store all devices in commandline

'for_each_host_dev_and_slaves' would stop at the first found
device, so the cmdline() call would never list all required
devices. Use 'for_each_host_dev_and_slaves_all' instead and
filter out duplicates.

Signed-off-by: Hannes Reinecke <hare@suse.de>
master
Hannes Reinecke 11 years ago committed by Daniel Molkentin
parent
commit
05bf320972
  1. 4
      modules.d/95dasd_rules/module-setup.sh

4
modules.d/95dasd_rules/module-setup.sh

@ -12,8 +12,8 @@ cmdline() { @@ -12,8 +12,8 @@ cmdline() {
return 0
}
[[ $hostonly ]] || [[ $mount_needs ]] && {
for_each_host_dev_and_slaves is_dasd || return 255
}
for_each_host_dev_and_slaves_all is_dasd || return 255
} | sort | uniq
}

# called by dracut

Loading…
Cancel
Save