JFFS 2 Question

Mike Wellington be_a_fanatic at yahoo.com
Sat Jul 10 05:31:31 EDT 2004


Guess I'm the first one to wake up and see this.

Sync "should" work.  Try it and check by doing
 
>  od -x /jffs2 

and then see if your new data is in the dump.

A foolproof way that is overkill - unmout the 
/jffs2 file system and then remount it.  Put 
that pair of commands in a script so you don't 
get tired of typing it.

-mike at bithead.com




-- Patrick Hilt <philt at pioneer-pdt.com> wrote:
> Hi list!
> Is there a way to make sure data is being written to physical flash
> when using 
> JFFS2? In other words, After writing a file on a JFFS2 partition, is
> there 
> anything that can be done to make sure that the data is getting
> written to 
> the flash right away? Would "sync" or "fsync" have that effect?
> 
> Thanks a lot in advance for any input!!!
> 
> Happy weekend,
> 
> Patrick
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 





More information about the linux-mtd mailing list