Re: [RFC PATCH]debugfs:Fix terminology inconsistency of dir nameto mount debugfs filesystem.

From: Greg KH
Date: Thu May 28 2009 - 17:45:31 EST


On Thu, May 28, 2009 at 09:45:51AM -0400, Steven Rostedt wrote:
> > I'm sorry you have to type a long path, perhaps you wish to invest in a
> > tab key for auto-completion :)
> >
> > Again, distros already mount debugfs at this location, please don't
> > confuse people just because you are annoyed at the length of the path.
>
> Have you found which packages do that?

The base system packages on all openSUSE and SLE11 releases. Possibly
SLE10 also does it, but I don't have a running instance of that at the
moment.

> The point is that the document is more interested in showing the files
> that are being used, and if I add /sys/kernel/debug/ in front of every
> file, that just distracts from the eye. As stated:
>
> "but for simplicity this document will use /debug"

Sorry for the "distraction", but that goes against documentation on your
machine:
$ man mount | grep -A 3 "Mount options for debugfs"
Mount options for debugfs
The debugfs file system is a pseudo file system, traditionally mounted
on /sys/kernel/debug. There are no mount options.

It's not only a documented standard, it's a "tradition" :)

Please fix your documentation.

thanks,

greg k-h
--
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/