dracut-functions.sh:get_persistent_dev() do not check non-existent dirs
parent
ffc68f357e
commit
2b9d8f65a6
|
|
@ -313,6 +313,7 @@ get_persistent_dev() {
|
|||
/dev/disk/by-id/* \
|
||||
/dev/disk/by-path/* \
|
||||
; do
|
||||
[[ -e "$i" ]] || continue
|
||||
[[ $i == /dev/mapper/control ]] && continue
|
||||
[[ $i == /dev/mapper/mpath* ]] && continue
|
||||
_tmp=$(get_maj_min "$i")
|
||||
|
|
|
|||
Loading…
Reference in New Issue