[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090114055404.GA17400@suse.de>
Date: Tue, 13 Jan 2009 21:54:04 -0800
From: Greg KH <gregkh@...e.de>
To: Mathieu Desnoyers <compudj@...stal.dyndns.org>
Cc: Zhaolei <zhaolei@...fujitsu.com>, ltt-dev@...ts.casi.polymtl.ca,
linux-kernel@...r.kernel.org, Andrew Morton <akpm@...l.org>
Subject: Re: [ltt-dev] [PATCH 1/2] Make lttctl mount debugfs automatically
On Wed, Jan 14, 2009 at 12:16:02AM -0500, Mathieu Desnoyers wrote:
> * Greg KH (gregkh@...e.de) wrote:
> > On Thu, Jan 08, 2009 at 10:30:22PM -0500, Mathieu Desnoyers wrote:
> > > * Zhaolei (zhaolei@...fujitsu.com) wrote:
> > > > * From: "Mathieu Desnoyers" <compudj@...stal.dyndns.org>
> > > > >* Zhaolei (zhaolei@...fujitsu.com) wrote:
> > > > >> * From: "Pierre-Marc Fournier" <pierre-marc.fournier@...ymtl.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
--
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