linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Mathieu Dube <mathieu.dube@nexsan.ca>
Cc: Al Viro <viro@ftp.linux.org.uk>, linux-fsdevel@vger.kernel.org
Subject: Re: mountpoint information a get_sb
Date: Thu, 23 Nov 2006 11:53:46 -0700	[thread overview]
Message-ID: <20061123185346.GA6083@parisc-linux.org> (raw)
In-Reply-To: <1164289884.15003.13.camel@mdube>

On Thu, Nov 23, 2006 at 01:51:24PM +0000, Mathieu Dube wrote:
> On Thu, 2006-11-23 at 18:32 +0000, Al Viro wrote:
> 
> > It might be mounted at any number of places, including 0.  Moreover,
> > it might be mounted at some place only to be immediately moved
> > elsewhere.
> > 
> > The question makes no sense.
> 
> Im sorry Im fairly new to this.
> 
> youre saying there is no way to know the mount point unless its already
> mounted?

He's saying that even if you happen to know where it's currently
mounted, there's no guarantee the place where it's mounted might not be
changed without your filesystem knowing.  Indeed, it can be mounted
nowhere at all (and yet still active) or it can be mounted in 2 or more
places at the same time.  What you've told us you're trying to do is
impossible.

> I need to know the subtree that will be made invisible once the fs is
> mounted
> 
> is there a way ?

No way at all.  What are you actually trying to do?

  reply	other threads:[~2006-11-23 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-23 12:07 mountpoint information a get_sb Mathieu Dube
2006-11-23 18:32 ` Al Viro
2006-11-23 13:51   ` Mathieu Dube
2006-11-23 18:53     ` Matthew Wilcox [this message]
2006-11-23 19:46     ` Al Viro

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=20061123185346.GA6083@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mathieu.dube@nexsan.ca \
    --cc=viro@ftp.linux.org.uk \
    /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).