ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7500 File changes after reboot

To:
Subject: Re: [ts-7000] TS-7500 File changes after reboot
From: Jason Stahls <>
Date: Wed, 07 Apr 2010 17:42:50 -0400
nxtcomputing wrote:
> Hi All,
>
> I have a bunch of TS-7500 boards with microSD cards that I am trying to 
> update programs on. I have written a script file that telnets to the board, 
> removes any existing update files,  uses wget to download the update file to 
> the board, then executes the update script.
>
> The update script is shown below:
> ----------------------------------------
> #! /bin/sh
>
> -snip-
> wait
> sleep 10
> umount -a
> reboot
> ----------------------------------------
>
> This almost always works but sometimes does not. When it doesn't work the 
> files that were supposed to copy are either not there or not executable. I 
> think there is a delay with the microSD card writing. Or it reboots before 
> the microSD is done.
>
> Does anyone have suggestions on how to fix this?
>   

Try replacing that sleep 10 with sync, sync shouldn't return till the 
disk cache has been completely written out.

-- 
Jason Stahls


------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU