lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0905261711310.26705@gandalf.stny.rr.com>
Date:	Tue, 26 May 2009 17:15:09 -0400 (EDT)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Greg KH <greg@...ah.com>
cc:	GeunSik Lim <leemgs1@...il.com>,
	linux-kernel <linux-kernel@...r.kernel.org>, trivial@...nel.org,
	balagi@...tmail.de, bgamari@...il.com, Ingo Molnar <mingo@...e.hu>,
	inaky.perez-gonzalez@...el.com
Subject: Re: [RFC PATCH]debugfs:Fix terminology inconsistency of dir name to
 mount debugfs filesystem.


On Tue, 26 May 2009, Greg KH wrote:
> > 
> > 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.
> 
> Why?

Because it is too much to type ;-)

> 
> When I created debugfs, I was told that I had to pick a place to mount
> it so that everyone could write scripts that "knew" where it would be.
> 
> So we picked /sys/kernel/debug/ and the code creates the mount point to
> put it there.  Now distros actually mount debugfs at that location.
> 
> So, now you don't like this?  After it's become a standard?  Ick.
> 
> Becides, /debug/ is pretty presumptious, it's as if debugging the kernel
> is a system-wide thing :)
> 
> So please, don't use /debug/ use the standard, defined, and ACTUALLY
> USED BY DISTROS TODAY mount point of /sys/kernel/debug/
> 
> If you want to create your own symlink from /debug/ to that location to
> make it easier to type, feel free, but do not hard code any scripts to
> use that location, or they are going to break.

All my scripts search /proc/mounts to find where debugfs is mounted, then 
it uses that.

Hmm, Not sure what packages in the distros use the default. I don't see 
the debugfs in /etc/fstab in any of my machines.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ