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

From: Tigran Aivazian (tigran@veritas.com)
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.

Regards,
Tigran

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



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