Re: mounting a filesystem nowhere? (was Re: set_fs_pwd/set_fs_root(tsk, NULL, NULL) are OK?)

From: Tigran Aivazian (
Date: Mon May 08 2000 - 15:35:58 EST

On Mon, 8 May 2000, Alexander Viro wrote:
> > > We don't have to mount it anywhere within the user's reach.
> > >
> >
> > Could you (only if you have a spare minute) say a few more words about
> > this, please? I.e. my reading of do_mount() is such that it will
> > necessarily create a vfsmount entry on successful return. So, how is it
> > that you are talking about "not mounting anywhere within the user's
> > reach"? I.e. where else can I possibly mount a filesystem and how?
> >
> > All I need is some static path like "/nullfs" which can never be looked
> > up by any lookup except the ones coming from mount/umount.
> Wait for the next tree - it's there (check FS_SINGLE and kern_mount();
> examples in pipefs, procfs and shmfs).

excellent, thank you, will do.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:12 EST