Re: [patch] Remove the magic entries from /proc/mounts

Erik Andersen (andersen@codepoet.org)
Fri, 30 Jun 2000 15:06:13 -0600


On Fri Jun 30, 2000 at 01:20:12PM -0700, H. Peter Anvin wrote:
> Erik Andersen wrote:
> >
> > > You have to filter out the "magicness" of these entries, not the
> > > string "none".
> >
> > Hmm. How about these heuristics instead?
> >
>
> Not good. ramfs can be root legitimately.

Sigh. and NFS is also a nodev fs. So with the kernel as it currently
stands, it is impossible to hide internal-use-only filesystems.

I suppose the only way to hide them is to have the kernel somehow
flag internal-use-only filesystems with some kind of magic marker
that will allow them to be filtered out in get_filesystem_info().

I just tried to find where the internal-use-only filesystems are
being mounted but I couldn't find it. Any ideas?

-Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--

- 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/