tags 303403 + patch Hi all, With "ROOT=/dev/hda1" in my mkinitrd.conf it worked well. So i switched back to "ROOT=probe" and traced the mkinitrd-script. The printf in the first awk-script in probe() produces the problem. Also the next "for-loop" confuses me. here is my patch Jens
--- mkinitrd.0.1.84 2005-10-27 16:55:24.000000000 +0200
+++ mkinitrd 2005-10-27 19:14:13.000000000 +0200
@@ -757,7 +757,6 @@
BEGIN { printf "set -- " }
/^#/ { next }
$2 == "/" { root = $1; type = $3; next }
- $3 == "swap" { printf "'\''%s'\''", $1 }
END {
print ""
print "root=" root
@@ -772,10 +771,7 @@
fi
device=$root
- for i; do
- [ -b "$i" ] || continue
- getroot "$i"
- done
+ getroot $device
fi
if [ -z "$type" ]; then
Attachment:
pgpTgtNRqwpv7.pgp
Description: PGP signature