From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@suse.de (Greg KH) Date: Tue, 13 Jan 2009 15:54:19 -0800 Subject: [ltt-dev] [PATCH 1/2] Make lttctl mount debugfs automatically In-Reply-To: <20090109033021.GA25504@Krystal> References: <49646208.7070607@cn.fujitsu.com> <4964BA2B.30200@polymtl.ca> <20090108144430.GA3778@Krystal> <7C0A417AB5B84CDCB9A9484C4E13A08C@zhaoleiwin> <20090109033021.GA25504@Krystal> Message-ID: <20090113235419.GA20644@suse.de> On Thu, Jan 08, 2009 at 10:30:22PM -0500, Mathieu Desnoyers wrote: > * Zhaolei (zhaolei at cn.fujitsu.com) wrote: > > * From: "Mathieu Desnoyers" > > >* Zhaolei (zhaolei at cn.fujitsu.com) wrote: > > >> * From: "Pierre-Marc Fournier" > > >> > Zhaolei wrote: > > >> >> lttctl need debugfs mounted, > > >> >> This patch make lttctl mount debugfs automatically when it is not mounted. > > >> >> > > >> > > > >> > Isn't having a utility such as lttctl mount filesystems against standard > > >> > unix semantics? Can you give an example of another standard command that > > >> > uses a filesystem and that tries to mount it if it isn't already > > >> > mounted? > > >> Hello, Pierre-Marc, > > >> > > >> I can give a an example. > > >> It is SystemTap. > > >> > > > > > > No offence, but can you find an example which is not explicitly > > > described as "bad taste" example by many people in the Linux kernel > > > community ? > > Hello, Mathieu > > > > I can't find another example of mounting debugfs automatically. Have you looked? openSUSE mounts it automatically, and I think Fedora also does so. thanks, greg k-h