ts-7000
[Top] [All Lists]

Re: [ts-7000] force disk i/o to flush?

To:
Subject: Re: [ts-7000] force disk i/o to flush?
From: Jason Stahls <>
Date: Wed, 30 Dec 2009 17:53:31 -0500
Jon L wrote:
> I lost power a few minutes after I edited, compiled, and linked a C source 
> file.  The system hard crashed, and I was surprised that when I rebooted the 
> debian linux from the micro SD card, the C file did not have the changes.
>
> Am I right in assuming that the disk changes were held in a cache and the 
> hard crash resulted in the disk changes never actually being written out?  
>
> and as a follow up. how do I force the micro SD card to be physically written?

Yes you're right the changes were cached probably and not flushed out to 
the device.  You can force a cache flush with the sync command.

-- 
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