On Mon, Sep 07, 2009 at 09:15:14PM +0200, Peter Zijlstra wrote:
> On Mon, 2009-09-07 at 11:55 -0700, Greg KH wrote:
> > On Mon, Sep 07, 2009 at 02:48:57PM +0200, Peter Zijlstra wrote:
> > > On Mon, 2009-09-07 at 21:37 +0900, GeunSik Lim wrote:
> > > >
> > > > >From 99e8ab48d783e619329c31e8f91e4384729a2e8b Mon Sep 17 00:00:00
> > > > From: GeunSik,Lim
> > > > Date: Mon, 7 Sep 2009 20:34:19 +0900
> > > > Subject: [PATCH 1/5] Fix mount directory of debugfs by default in
> > > >
> > > > We need common default directory of denbugfs for consistency.
> > > > (debugfs's default directory is /sys/kernel/debug/ by debugfs.)
> > >
> > > I'd rather we fix that brain-dead default.
> > Um, why is that "brain-dead"? It was discussed many times when debugfs
> > first came out and this was what was decided on.
> From what people tell me it wasn't a clear consensus.
> > So what is the problem?
> Its not related to sysfs in any way I can discover,
So, other filesystems are mounted in sysfs, and in /proc for many years.
> its not consistent with most of the other virtual fs',
What do you mean by this?
> and its way too much typing.
tab completion is your friend, as is environment variables. Don't
choose stuff just because you are lazy :)
> we don't mount /dev, /proc, /sys in weird places either, so why should
> we mount /debug in a cumbersome location.
Because it is a _kernel_ debug thing, not a system-level debug thing.
What would userspace developers think about /debug ? Why would they
care about such a thing?
As much as we tend to ignore it, kernel developers are not the primary,
or only, users of Linux :)