lkml.org 
[lkml]   [2007]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext2 on flash memory
*This message was transferred with a trial version of CommuniGate(r) Pro*
DervishD wrote:
> *This message was transferred with a trial version of CommuniGate(r) Pro*
> *This message was transferred with a trial version of CommuniGate(r) Pro*
> Hi all :)
>
> I was wondering: is there any reason not to use ext2 on an USB
> pendrive? Really my question is not only about USB pendrives, but any
> device whose storage is flash based. Let's assume that the device has a
> good quality flash memory with wear leveling and the like...
>
> Thanks a lot in advance :)
>
> Raúl Núñez de Arenas Coronado
>

Your USB pendrive will wear faster if you use an inappropriate
filesystem. Such filesystems require frequent writes and change their
internal state often.

This could be alleviated by COWing the filesystem somehow and flushing
writes when you're finished. But the modifications will be lost if
crashes occur. The filesystem structures will still change a lot and
require big writes to update it.

Really, why don't you try a more suitable fs for your pendrive, one that
changes itself less than usual fs's?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-11 13:13    [W:0.137 / U:1.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site