View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#44
Originally Posted by pton View Post
The command "sh -x /root/.bin/partition-finder.sh 2> output" never returns to prompt. I pressed ^C to terminate it after 1minute.

Contents of output.
+ df /mnt/initfs
+ grep initfs
+ awk {print $1}
+ export INITFS=/dev/mtdblock4
+ test /dev/mtdblock4 = /dev/mtdblock4
+ df
+ grep /dev/mmcblk0p2
+ + awk -F . {print $1"MB"}
awk {print $3 / 1024}
+ export USED=
+ df
+ awk {print $4 / 1024}
+ awk -F . {print $1"MB"}
+ grep /dev/mmcblk0p2
+ export AVAIL=
+ echo /dev/mtdblock4 "Size:256MB Used: Free:AVAIL Type:jffs2"
+ export LOOP=0
+ parted /dev/mmcblk1 print devices
+ grep -v mtdblock
+ sed s/ /-/

I found the problem, I really appreciate your help.. My partition-finder script neeeds more logic. I will update sometime today to fix the problem.

You could try changing line 16 of partition-finder.sh

from:
for i in `parted /dev/mmcblk1 print devices

to
for i in `parted /dev/mmcblk0 print devices

Or just wait for me, I will be adding a disk check, and then run 0 or 1 depending on whats available.

Thanks again for your help and patients.
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 

The Following User Says Thank You to penguinbait For This Useful Post: