secure file deletion/SECRM support for JFFS2 and UBIFS

Ricard Wanderlof ricard.wanderlof at axis.com
Thu Apr 28 01:40:43 PDT 2016


On Thu, 28 Apr 2016, Richard Weinberger wrote:

> Am 28.04.2016 um 00:35 schrieb Chris Packham:
> >> Well, UBIFS and JFFS2 work on generic MTD, so having a special hack for NOR
> >> is not really what we want.
> > 
> > Agreed. I was hoping there was a similar trick for NAND which I'm less 
> > familiar with. The fallback behavior of an immediate erase is still 
> > doable but it has more corner cases that we'd need to be weary of.
> 
> Nope, on NAND you're forced to erase.

I know generally there is a recommendation not to overwrite bits already 
set to 0 with 0 for NAND, but I can't remember if that is related to the 
subsequent readability of surrounding data, or if may cause a future erase 
not to perform properly, or actually physically damages the bit cell (or 
there is some other reason).

If it's just related to the readability of surrounding bit cells, one 
could imaging overwriting a page with zeros since we were not going to 
read it anyway.

With MLC it's going to be a problem though due to bits being paired 
between separate pages.

/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



More information about the linux-mtd mailing list