lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 14 Jan 2009 00:16:02 -0500
FromMathieu Desnoyers <>
SubjectRe: [ltt-dev] [PATCH 1/2] Make lttctl mount debugfs automatically
* Greg KH (gregkh@suse.de) wrote:
> On Thu, Jan 08, 2009 at 10:30:22PM -0500, Mathieu Desnoyers wrote:
> > * Zhaolei (zhaolei@cn.fujitsu.com) wrote:
> > > * From: "Mathieu Desnoyers" <compudj@krystal.dyndns.org>
> > > >* Zhaolei (zhaolei@cn.fujitsu.com) wrote:
> > > >> * From: "Pierre-Marc Fournier" <pierre-marc.fournier@polymtl.ca>
> > > >> > 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.
> 

It makes sense for a whole distribution to mount debugfs automatically,
but is it OK for a single userspace application to have this kind of
behavior ?

Mathieu

> thanks,
> 
> greg k-h
> 

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68


\
 
 \ /
  Last update: 2009-01-14 06:19    [from the cache]
©2003-2008