dracut-functions.sh:get_persistent_dev() do not check non-existent dirs

master
Harald Hoyer 2013-08-23 19:04:12 +02:00
parent ffc68f357e
commit 2b9d8f65a6
1 changed files with 1 additions and 0 deletions

View File

@ -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")