summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2009-06-07 14:32:47 +0200
committerThomas Bächler <thomas@archlinux.org>2009-06-07 14:32:47 +0200
commit50db40944476af56188d3d9060d0c826e7a75af5 (patch)
tree54d39a7eb7bafef3fe88bd2ddc8531de297ed4d0
parentcb2d9b4f09b93ae76c518c0c58720acdf49f4ce2 (diff)
downloadmkinitcpio-50db40944476af56188d3d9060d0c826e7a75af5.tar.gz
mkinitcpio-50db40944476af56188d3d9060d0c826e7a75af5.tar.xz
Fix #12374
-rw-r--r--install/autodetect2
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}