Re: ext2 on flash memory

From: DervishD
Date: Wed Jun 13 2007 - 08:44:17 EST


Hi Kevin :)

> > 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...
> My opinion is that, unless the flash is really cheap, or it is being
> written to excessively, that it probably doesn't matter too much.
> With the growth in size of flash, just how long do you think it will
> continue to be used before you go to something larger?

The growth in size and the shrink in price ;) I think that if the
stick only lasts for a year, it has been a good investment.

> One suggestion with ext2 might be to mount it with the noatime
> option, so it doesn't update the last access time for directories and
> files. Otherwise, you are doing a write even when you only plan to
> read a file.

I was going to do that. It should minimize the wear when only
reading. Anyway, wearing wasn't my main concern, I was more worried by
stoopid firmware that assume FAT.

Thanks for your answer :)

Raúl Núñez de Arenas Coronado

--
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/