All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liu Bo <bo.li.liu@oracle.com>
To: "Gábor Nyers" <gnyers@suse.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>, Jie Liu <jeff.liu@oracle.com>
Subject: Re: How to find (out if) files sharing content?
Date: Wed, 31 Oct 2012 08:40:12 +0800	[thread overview]
Message-ID: <5090736C.5040609@oracle.com> (raw)
In-Reply-To: <20121030162005.0308d5a2@lupus.demo.lan>

On 10/30/2012 11:20 PM, Gábor Nyers wrote:
> Hi,
> 
> How could one find out if 2 files share any extents on a btrfs file system?
> 
> A more generic variation of the above: How to list files on the same
> file system/subvolume sharing content?
> 

Indeed ocfs2 already has the feature where you can get shared parts via 'du',
we're planning to support this in btrfs, too.

thanks,
liubo

> Thanks,
> Gábor
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  parent reply	other threads:[~2012-10-31  0:40 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
2012-10-31  0:40 ` Liu Bo [this message]
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=5090736C.5040609@oracle.com \
    --to=bo.li.liu@oracle.com \
    --cc=gnyers@suse.com \
    --cc=jeff.liu@oracle.com \
    --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.