All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Konstantin Tokarev <annulen@yandex.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Find & remove orphan LEBs from UBIFS partition
Date: Fri, 17 Jan 2014 16:59:41 +0200	[thread overview]
Message-ID: <1389970781.31307.110.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <123921389951584@web25m.yandex.ru>

On Fri, 2014-01-17 at 13:39 +0400, Konstantin Tokarev wrote:
> Hi all,
> 
> How can I find and remove LEBs which don't correspond to known files
> using internal API of UBIFS?

> AFAIU, somethinng like this is done on recovery during mount, but in
> my case superblock is not dirty, so I'd like to force cleanup with
> custom mount option.

Are you trying to do something like 'secure deletion' ? Disclosing your
intentions would help understanding what you need. I do not quite
understand.

Do you want to fine all LEBs which do not contain anything useful like
data or meta-data, and unmap them?

-- 
Best Regards,
Artem Bityutskiy

  reply	other threads:[~2014-01-17 15:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17  9:39 Find & remove orphan LEBs from UBIFS partition Konstantin Tokarev
2014-01-17 14:59 ` Artem Bityutskiy [this message]
2014-01-17 15:03   ` Konstantin Tokarev
2014-01-17 15:06     ` Artem Bityutskiy

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=1389970781.31307.110.camel@sauron.fi.intel.com \
    --to=dedekind1@gmail.com \
    --cc=annulen@yandex.ru \
    --cc=linux-mtd@lists.infradead.org \
    /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 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.