On 7/9/2010 6:31 AM, Aníbal wrote:
> My message will be creating a little mess on mailing list, I can't
> response directly on mail-archive or nabble  web interface to Steve
> Costaras, so I will quote here and send it.
>
> <quote steve>
> For flash devices you really want to use a non-journaled and COW type
> file system. You'll end up killing your flash drive which would be far
> worse. For embedded you may want to look at jffs2; logfs; and similar.
> If you don't have those in your kernel, ext2 would also be much better
> due to it's lack of journaling though it is not as good as the others
> above for flash.
> </quote>
>
> I have seen some information about that file systems but is
> information on web [1] that I can't use it on sd card because of
> controller inside it.
>

Ok, so it's an SD card,  you /may/ be able to use the block2mtd driver 
so you can then use the jffs2 file system on top of it (as jffs2 only 
runs on mtd devices).

Or just use ext2 with atime turned off which, while not as good as 
jffs2, would substantially reduce your writes to the device (no 
journaling) so as to prolong it's life.

A newer one that I haven't tried myself is NILFS which is a COW file system.

Though in either case it's not good as SD cards do internal housekeeping 
after a write request and if power is lost while that is happening there 
is no real recovery (actually I never found any type of document as to 
power failure behavior modes for that).    Not that it's bad, just  
means that you need to be real aware for backups/images to re-flash if 
you have an issue.


> <quote steve>
> that being said, as Dave mentioned it shouldn't cause a file system
> failure (would be a device failure in which case you'd probably know
> it ;) ).
> <quote>
>
> Sorry by the off-topic

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to