--- In "harry" <> wrote:
>
> Hi,
> I try to use the USB flash tsinit procedure that allows running a script on
> the USB flash if is detected on boot.
> The problem is that it mounts the USB to /mnt/root
> and when my script is running I get 2 devices mounted on /mnt/root
>
> When I try to see the mounts it returns this
>
> #mount
>
> /dev/tssdcarda4 on /mnt/root type jfs (ro)
> /dev/sda1 on /mnt/root/ type vfat (rw,....)
>
>
> I need /dev/tssdcarda4 to mount it as rw so i can write on it
> Any info much appreciated.
> Thanks
>
What system are you using?
On a TS7550, my tsinit script does this so it it can write to the flash:
while ! umount /mnt/root
do
sleep 1
done
killall nbd-client nandctl
However, the USB card is mounted to /mnt/usbdev by the TS-supplied linuxrc
which doesn't sound quite like the problem you are having.
Have you changed the linuxrc to mount the USB device to the wrong place?
Martin
------------------------------------
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/
|