lkml.org 
[lkml]   [2001]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (struct dentry *)->vfsmnt;


On Tue, 13 Mar 2001, Andreas Dilger wrote:

> You write:
> > > What about if I want to know the mountpoint (inside the filesystem)
> > > when it is mounted?
> >
> > Which mountpoint? There can be a lot of them (quite possibly - some
> > of them out of the chroot jail you are in, so "any" is unlikely to
> > do you any good).
>
> How about the first one? The one that calls the "read_super" method.
> AFAICT, only the first mount calls down to the FS anyways (the rest
> is VFS internal).

And what should that be after

mount -t ext2 /dev/sda1 /mnt
mount --bind /mnt /tmp/foo
umount /mnt


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.069 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site