Re: [RFC PATCH]debugfs:Fix terminology inconsistency of dir name tomount debugfs filesystem.

From: Steven Rostedt
Date: Tue May 26 2009 - 16:45:01 EST



On Tue, 26 May 2009, GeunSik Lim wrote:

>
>
> Hi all,
>
> I want to hear your opinions about this proposal for consistency of
> mount directory to mount debugfs filesystem that need by ftrace infrastructure.
> Um... I appended "RFC" word in the subject because this mail is my proposal just.
>
>
> commit 1766a83645706100b1829bb422f852ec757c6f4b
> Author: GeunSik,Lim <leemgs1@xxxxxxxxx>
> Date: Tue May 26 13:49:23 2009 +0900
>
> Fix terminology inconsistency of dir name to mount debugfs filesystem.
>
> Many developers use "/debug/" directory name to mount debugfs filesystem
> for ftrace according to ./Documentation/tracers/ftrace.txt file.
>
> But, two directory names(ex:/debug/, /debugfs/) is existed in kernel source
> like ftrace, DRM, Wireless, Network[sky2]files to mount debugfs filesystem.
> I think that we don't have to select either "/debug/" directory name or
> "/debugfs/" directory name for terminology consistency.
>
> debugfs means debug filesystem for debugging easy to use by greg kroah
> hartman. "/debug/" name is suitable as directory name of debugfs for
> tracing using ftrace like "/sys/" of sysfs(system filesystem).
> -debugfs related reference: http://lwn.net/Articles/115405/
>
> Fix inconsistency of directory name according to duplicated expression
> to mount debugfs.
>
> Signed-off-by: GeunSik Lim <geunsik.lim@xxxxxxxxxxx>

I'm guilty of using both /debug and /debugfs in comments. In practice, I
only use /debug.

But...

The filesystem Nazi's out there will argue that the proper place to mount
the debugfs filesystem is /sys/kernel/debug. I personally find that
location annoying.

-- Steve

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