Re: Some news for this: [PATCH] [MTD] BLOCK_RO: Readonly Block Device Layer Over MTD ?

Ricard Wanderlof
2007-11-23T09:29:03Z

On Fri, 23 Nov 2007, Artem Bityutskiy wrote:

> On Fri, 2007-11-23 at 10:08 +0100, Ricard Wanderlof wrote:
>> Does UBI periodically scan the flash for bit flips, or is the scrubbing
>> mechanism only triggered when an mtd_read() is done by a higher layer?
>
> No, it does not do any background scanning for bit-flips. The second is
> true.
>
> If one needs some scanning, it may be implemented by making a
> users-space script run by cron daemon I guess.

On second thought, I think that the degradation of the data in a
flash memory cell is mostly due to read operations, so if no read
operations are performed, the data should be fairly secure. Then again,
there are subtle effects such as cosmic radiation flipping bits at any
random location, etc.

/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30