Re: mountpoint information a get_sb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux