[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slow boot from usb




Replying to myself;-)
A dirty hack like that in the init (minirt.gz ) script works:

trymount(){
 local rc="1"
if cat /proc/partitions  |grep 1020127 2>&1 >/dev/null ;then
root="/dev/s`cat /proc/partitions|grep 1020127|cut -d "s" -f2`";mount -t
ext2 -o "$RW"  "$root" /mnt-system;rc="$?"; else

# Try to be quick, and probe the "most likely" file systems first
..........


1020127 is the exact size of the flash disk partition.
I know it's possible to be more elegant!

Max


-- 
View this message in context: http://old.nabble.com/Slow-boot-from-usb-tp33327194p33357639.html
Sent from the debian-knoppix mailing list archive at Nabble.com.


Reply to: