From: Jan Schmidt <list.btrfs@jan-o-sch.net>
To: "Hugo Mills" <hugo@carfax.org.uk>,
"Gábor Nyers" <gnyers@suse.com>,
linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: How to find (out if) files sharing content?
Date: Tue, 30 Oct 2012 16:58:19 +0100 [thread overview]
Message-ID: <508FF91B.3080000@jan-o-sch.net> (raw)
In-Reply-To: <20121030153922.GA11422@carfax.org.uk>
On Tue, October 30, 2012 at 16:39 (+0100), Hugo Mills wrote:
> It should be possible to walk through the
> extents of a given file, and (I think) follow back-refs from the
> extent back to the other files that share it.
You wish :-) Backrefs are not made to walk them while the file system is online.
However "btrfs inspect logical" manages quite well, at least I haven't heard
otherwise so far. You still need to get the logical block numbers, either by
TREE_SEARCH ioctl or by filefrag.
-Jan
next prev parent reply other threads:[~2012-10-30 15:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-30 15:20 How to find (out if) files sharing content? Gábor Nyers
2012-10-30 15:39 ` Hugo Mills
2012-10-30 15:58 ` Jan Schmidt [this message]
2012-10-31 0:40 ` Liu Bo
2012-10-31 2:30 ` Jeff Liu
2012-10-31 11:31 ` David Sterba
2012-10-31 13:02 ` Jeff Liu
2012-11-05 22:45 ` David Sterba
2012-11-06 3:53 ` Jeff Liu
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=508FF91B.3080000@jan-o-sch.net \
--to=list.btrfs@jan-o-sch.net \
--cc=gnyers@suse.com \
--cc=hugo@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.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.