Results 1 to 1 of 1
I'm running Arc linux 2.6.19, and i've been simply trying to vi a random text file on a SPI flash system then use to the sync() command to force to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-24-2010 #1
- Join Date
- Aug 2010
Sync() function doesn't really flush cache to disk
memcpy (mtdblk->cache_data + offset, buf, size);
mtdblk->cache_state = STATE_DIRTY;
I realize this is pretty specific, but if any of you experts out there can give me a hint, it would great!