Re: debugfs in the namespace

From: Jörn Engel
Date: Sat Dec 18 2004 - 12:53:37 EST


On Fri, 17 December 2004 20:08:56 +0100, Pavel Machek wrote:
> >
> > So, /debug sounds good to me. Any objections?
>
> Yes... /debug is something users may actually use already... Like
> having scratch filesystem mount on /debug.

Wouldn't it be possible to parse /proc/mounts and determine the
correct mount point that way?

DEBUGFS = grep debugfs /proc/mounts | cut -f2 -d' '

Jörn

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