public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: twebb <taliaferro62@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: wiping a UBIFS volume
Date: Mon, 30 Aug 2010 10:30:54 +0300	[thread overview]
Message-ID: <1283153454.12995.2.camel@brekeke> (raw)
In-Reply-To: <AANLkTim32XFn_Dsk8NdLwTX1aXwdjN4UVQA1xhWvLJLQ@mail.gmail.com>

On Wed, 2010-08-11 at 12:45 -0400, twebb wrote:
> I'm trying to delete everything in a UBIFS volume and leave as little
> as possible behind to prevent any malicious use of "deleted" files.
> Is there any significant difference between simply removing all the
> files on a UBIFS volume versus using "upiupdatevol /dev/ubi0_0 -t"?
> Is there a preferred way to accomplish this for a UBIFS volume?

When you delete files in UBIFS, this does not guarantee you that all
nodes belonging to these files are erased. They may still live on the
flash for long time, until garbage-collected.

Wiping out the volume guarantees that all data belonging to whole volume
(and thus, all UBIFS data) is erased, or at least scheduled for erasure.

-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)

      reply	other threads:[~2010-08-30  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 16:45 wiping a UBIFS volume twebb
2010-08-30  7:30 ` Artem Bityutskiy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1283153454.12995.2.camel@brekeke \
    --to=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=taliaferro62@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox