linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sander <sander@humilis.net>
To: ching <lsching17@gmail.com>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs defrag problem
Date: Tue, 6 Nov 2012 14:49:15 +0100	[thread overview]
Message-ID: <20121106134915.GA24383@panda> (raw)
In-Reply-To: <20121105225716.GO3102@twin.jikos.cz>

David Sterba wrote (ao):
> On Thu, Nov 01, 2012 at 05:17:04AM +0800, ching wrote:
> > when a device is mounted under a directory, files in the directory
> > is "hidden", and files in the device is "available", right?  when a
> > directory is polyinstantied, files in the original directory is
> > "hidden", and files in the polyinstantied directory is "available",
> > 
> > How to get past them and pass those "hidden" files to defrag
> > command?
> 
> I hope I get it right, so unless you have a reference to the directory
> with hidden files (using your term), there's no way to access them.
> And this is a more generic question, not related to btrfs itself. The
> hidden files may also belong to a different filesystem.

What Ching means (I think), is that if you have directories in /home,
and you mount a device onto /home, you cannot see the original
directories in /home anymore.

You can still access them though, with a 'mount -o bind':

# mount -o bind / /mnt
# ls /mnt/home

	Sander

      parent reply	other threads:[~2012-11-06 13:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 11:47 btrfs defrag problem ching
2012-10-30 12:08 ` cwillu
2012-10-31  0:14   ` ching
2012-10-31  0:40 ` David Sterba
2012-10-31 21:17   ` ching
2012-11-05 22:57     ` David Sterba
2012-11-05 23:48       ` ching
2012-11-06 13:49       ` Sander [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=20121106134915.GA24383@panda \
    --to=sander@humilis.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lsching17@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;
as well as URLs for NNTP newsgroup(s).