ppcrcd/trunk/initrd.dir/linuxrc
sparky
cvs at pld-linux.org
Sat Mar 4 19:44:58 CET 2006
Author: sparky
Date: Sat Mar 4 19:44:57 2006
New Revision: 7088
Modified:
ppcrcd/trunk/initrd.dir/linuxrc
Log:
- maybe it will work now
Modified: ppcrcd/trunk/initrd.dir/linuxrc
==============================================================================
--- ppcrcd/trunk/initrd.dir/linuxrc (original)
+++ ppcrcd/trunk/initrd.dir/linuxrc Sat Mar 4 19:44:57 2006
@@ -31,7 +31,7 @@
$B/echo "${cG}*** Searching PPCRCD cdrom${cE}"
for CD in $DRIVES; do
$B/echo -n "$CD.."
- $B/mount -n -t $FS $P/dev/$CD /media/ppcrcd -r
+ $B/mount -n -t $FS $P/dev/$CD /media/ppcrcd -r 2>/dev/null
if $B/test -f /media/ppcrcd/ppcrcd.sqf; then
$B/echo " Found: /dev/$CD"
FOUND=$CD
@@ -77,6 +77,9 @@
hfs fat vfat; do
modload $MOD
done
+ # usb-storage takes time to start
+ $B/echo "Waiting 5 seconds, sorry"
+ $B/usleep 5000000
$B/echo
DRIVES=`$B/awk '/[hs]d[a-z][1-9]/ {gsub(/[0-9]+ +/,""); print}' /proc/partitions`
FOUND=""
@@ -87,7 +90,7 @@
fi
if $B/test -z "$FOUND"; then
- error "Can't find PPCRCD device"
+ error "Can't find PPCRCD device, you may try to mount it manually under /media/ppcrcd and type 'exit'"
fi
$B/echo "${cG}*** Preparing root filesystem${cE}"
More information about the pld-cvs-commit
mailing list