[lkml]   [2003]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Compactflash cards dying?
Use a file system that is designed for use on FLASH devices.  In general 
FLASH devices are not very useable for systems that need to modify data
on the disk often.

You may wish to look at the virtual memory file system available in the
kernel if you have enough RAM. You would mount your CompactFlash device
read only and have all updates go to the virtual memory filesystem.
When you want to commit the changes, remount the CompactFlash read/write
and save the changes then remount it read only.

You would be surprised how fast a million writes can happen on a disk.

- Bryan

Pavel Machek wrote:
> Hi!
> I had compactflash from Apacer (256MB), and it started corrupting data
> in few months, eventually becoming useless and being given back for
> repair. They gave me another one and it is just starting to corrupt
> data.
> First time I repartitioned it; now I only did mke2fs, and data
> corruption can be seen by something as simple as
> cat /mnt/cf/mp3/* > /mnt/cf/delme; md5sum /mnt/cf/delme.
> [Fails 1 in 5 tries].
> Anyone seen something similar? Are there some known-good
> compactflash-es?
> Pavel

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.131 / U:5.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site