To catch _all_ UUIDs and not only the first one, use
for_each_host_dev_and_slaves_all
}
[[ $hostonly ]] || [[ $mount_needs ]] && {
- for_each_host_dev_fs check_crypt || return 1
+ for_each_host_dev_and_slaves_all check_crypt || return 1
}
return 0
}
[[ $hostonly ]] || [[ $mount_needs ]] && {
- for_each_host_dev_fs check_dmraid || return 1
+ for_each_host_dev_and_slaves_all check_dmraid || return 1
}
return 0
}
[[ $hostonly ]] || [[ $mount_needs ]] && {
- for_each_host_dev_fs check_mdraid || return 1
+ for_each_host_dev_and_slaves_all check_mdraid || return 1
}
return 0