[ltt-dev] [PATCH 1/2] Make lttctl mount debugfs automatically

Zhaolei zhaolei at cn.fujitsu.com
Wed Jan 7 19:40:49 EST 2009


* From: "Pierre-Marc Fournier" <pierre-marc.fournier at 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.

Regards
Zhaolei

> My guess is we should warn about the filesystem not being
> mounted, but not try to call mount() directly.
> 
>> Little cleanup also done(combile 2 getdebugfsmntdir() into one).
>> 
>> Applies on top of ltt-control-0.63-03012009.
>> 
> 
>


More information about the lttng-dev mailing list