Two lines in the linuxrc-fastboot script in flash were not behaving
properly:
if [ -e /dev/sdcard0/disc0/part3 -a ! -e /mnt/root/bin/mount ]; then
and
if [ -e /mnt/root/bin/mount -a ! -e /mnt/root/notrootfs ]; then
It appears that the version of the shell in use while the script is
running doesn't recognize the '[' command, and emits a message like
"/bin/sh: [: not found".
Changing the lines to
if test -e /dev/sdcard0/disc0/part3 -a ! -e /mnt/root/bin/mount ; then
and
if test -e /mnt/root/bin/mount -a ! -e /mnt/root/notrootfs ; then
gets the statements working. After "exit" on the fastboot serial
shell the system then goes on to boot with a root filesystem from
sdcard partition 3, as layed out in the ts-7400-info file. This
clears up some confusion; I can stop looking for the problem on my SD
card.
I see this "if [" construct in other linuxrc-* scripts, as well.
I don't know if this has been fixed since we got our TS-7400 cards --
the one I'm looking at now is SN 2357.
Mel.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|