Re: [Yaffs] Secure delete

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: Peter Barada
Subject: Re: [Yaffs] Secure delete
As William has noted here and earlier in this thread, there is no straight
forward way to do sucure deletion in yaffs.

YAFFS is a log structured file system which means that a secure deletion
requires deletion of all previous log data by forcing a gc up to the last
data block of the file.

Assuming you're running Linux, an option would be to loop-mount a cryptfs, or
similar, file system on top of a yaffs file. That would give you a secure
place to store your "secrets".

On Thursday 19 October 2006 07:55, William Watson wrote:
> On 10/18/06, Peter Barada <> wrote:
> > One possibility is to just write zeros over all the old blocks which
> > doesn't require an erase. Perhaps an IOCTL interface to "zap" the file
> > contents?
>
> Nice thought, but it would break the requirements of the newer NAND chips
> that pages within a block only get written in order, and only get written
> once.
> --
>
> William J. Watson