All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Mathieu Desnoyers <compudj@krystal.dyndns.org>
Cc: Zhaolei <zhaolei@cn.fujitsu.com>,
	ltt-dev@lists.casi.polymtl.ca, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@osdl.org>
Subject: Re: [ltt-dev] [PATCH 1/2] Make lttctl mount debugfs automatically
Date: Tue, 13 Jan 2009 21:54:04 -0800	[thread overview]
Message-ID: <20090114055404.GA17400@suse.de> (raw)
In-Reply-To: <20090114051602.GA14786@Krystal>

On Wed, Jan 14, 2009 at 12:16:02AM -0500, Mathieu Desnoyers wrote:
> * 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 ?

If it's a "debug" application, why not?

thanks,

greg k-h

  reply	other threads:[~2009-01-14  6:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <49646208.7070607@cn.fujitsu.com>
     [not found] ` <4964BA2B.30200@polymtl.ca>
     [not found]   ` <AA3F776E5F6246859F1978B7C7CF1919@zhaoleiwin>
     [not found]     ` <20090108144430.GA3778@Krystal>
     [not found]       ` <7C0A417AB5B84CDCB9A9484C4E13A08C@zhaoleiwin>
2009-01-09  3:30         ` [ltt-dev] [PATCH 1/2] Make lttctl mount debugfs automatically Mathieu Desnoyers
2009-01-13 23:54           ` Greg KH
2009-01-14  2:02             ` Josh Boyer
2009-01-14  5:16             ` Mathieu Desnoyers
2009-01-14  5:54               ` Greg KH [this message]
2009-01-15  1:41                 ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090114055404.GA17400@suse.de \
    --to=gregkh@suse.de \
    --cc=akpm@osdl.org \
    --cc=compudj@krystal.dyndns.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ltt-dev@lists.casi.polymtl.ca \
    --cc=zhaolei@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.