|
|
|
@ -10,13 +10,14 @@ is_mpath() {
@@ -10,13 +10,14 @@ is_mpath() {
|
|
|
|
|
# called by dracut |
|
|
|
|
check() { |
|
|
|
|
local _rootdev |
|
|
|
|
# if there's no multipath binary, no go. |
|
|
|
|
require_binaries multipath || return 1 |
|
|
|
|
|
|
|
|
|
[[ $hostonly ]] || [[ $mount_needs ]] && { |
|
|
|
|
for_each_host_dev_and_slaves is_mpath || return 255 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# if there's no multipath binary, no go. |
|
|
|
|
require_binaries multipath || return 1 |
|
|
|
|
|
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|