Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

2.3 Gingerbread will use ext4 instead of YAFFS.

My question is: YAFFS is for flash based filesystem, but ext4 is not. Will it lead to premature death of the device due to wear leveling?

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

Not likely, the flash storage itself usually have built-in hardware wear leveling, YAFFS2 is only advantageous when the flash storage does not have hardware wear levelling.

However if you're reformatting a flash storage, do check that the flash storage have hardware wear leveling; most flash storage that originally ships with ext4 (e.g. Nexus S) should come with hardware wear leveling, but if the device originally ships with YAFFS2 or other file systems that does not do wear leveling, they might not have hardware wear leveling. On these file systems, you might need additional steps to ensure that a lower level driver (e.g. STL) do software wear leveling if you want to safely install ext4 (or other filesystems that does not do wear leveling).

share|improve this answer
add comment

Where did you see that all Gingerbread devices will use ext4?

The Nexus S uses ext4 and that is because the Galaxy S devices uses a very slow and laggy file system developed by Samsung called RFS. Google decided to change the file system on the Nexus S from RFS to ext4.

share|improve this answer
    
    
@Alexandru Luchian: his question was "Where did you see that all Gingerbread devices will use ext4?", which is clearly not true. I don't believe there will not be any Gingerbread that does not use ext4. –  Lie Ryan Jan 15 '11 at 13:24
    
You are right. But still, in the context of the question - most of the new devices will ship with ext4. –  Alexandru Luchian Jan 15 '11 at 14:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.