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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to