All of lore.kernel.org
 help / color / mirror / Atom feed
* wiping a UBIFS volume
@ 2010-08-11 16:45 twebb
  2010-08-30  7:30 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: twebb @ 2010-08-11 16:45 UTC (permalink / raw)
  To: linux-mtd

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?

Thanks,
twebb

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wiping a UBIFS volume
  2010-08-11 16:45 wiping a UBIFS volume twebb
@ 2010-08-30  7:30 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-08-30  7:30 UTC (permalink / raw)
  To: twebb; +Cc: linux-mtd

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 (Битюцкий Артём)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-30  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11 16:45 wiping a UBIFS volume twebb
2010-08-30  7:30 ` Artem Bityutskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.