diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-06-07 14:32:47 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-06-07 14:32:47 +0200 |
commit | 50db40944476af56188d3d9060d0c826e7a75af5 (patch) | |
tree | 54d39a7eb7bafef3fe88bd2ddc8531de297ed4d0 /install | |
parent | cb2d9b4f09b93ae76c518c0c58720acdf49f4ce2 (diff) | |
download | mkinitcpio-50db40944476af56188d3d9060d0c826e7a75af5.tar.gz mkinitcpio-50db40944476af56188d3d9060d0c826e7a75af5.tar.xz |
Fix #12374
Diffstat (limited to 'install')
-rw-r--r-- | install/autodetect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect index d964eef..871b0f3 100644 --- a/install/autodetect +++ b/install/autodetect @@ -13,7 +13,7 @@ install () #Filesystem detection, use sysfs instead of /proc findfs () { - for blkdev in $(find /dev -type b | grep -v -e loop -e ram -e fd); do + for blkdev in $(find /dev -type b | grep -v -e /dev/loop -e /dev/ram -e /dev/fd); do eval $(/usr/lib/klibc/bin/fstype 2>/dev/null < ${blkdev}) if [ -n "${FSTYPE}" -a "${FSTYPE}" != "swap" -a "${FSTYPE}" != "unknown" -a "${FSTYPE}" != "luks" -a "${FSTYPE}" != "lvm2" ]; then echo ${FSTYPE} |