CompactFlash...
Charles Manning
manningc2 at actrix.gen.nz
Tue May 6 16:58:03 EDT 2003
>
> 1) Do CF cards when used in ATA (or other modes) have built in wear
> leveling? Mfg docs appear to be inconsistent.
The docs are inconsistent. Personally I am not really bothered by the lack of
wear levelling on some NAND systems. If a block dies, it is replaced by a
reserved one. The SmartMedia block management scheme results in a
"statistical wear levelling". ie. Explicite wear levelling is not performed,
but the net result is some degree of wear levelling. My understanding is that
full-size (PCMCIA) ATA cards support explicite wear levelling, but CF does
not.
IMHO, far more critical to robustness is state corruption due to
crashes/power loss. These are best addressed by a journaling file system
directly on NAND (eg. JFFS2 or YAFFS). CF can get internal corruptions which
can defeat the robustness of any file system (just like ext3 can't save you
from a six inch spike through your hard drive).
>
> 2) Would JFFS2 or other journaled file systems be applicable when using
> CompactFlash in I/O or Memory Mode (rather than True IDE mode)?
No. Regardless of the hook-up, the functional interface you get is still IDE
equivalent. You do not get access to the raw NAND. For that you need
something like SmartMedia.
-- CHarles
More information about the linux-mtd
mailing list