[openib-general] [PATCH] opensm: handle stdout and stderr in osm_log

Sasha Khapyorsky sashak at voltaire.com
Thu Apr 27 07:05:16 PDT 2006


On 00:20 Thu 27 Apr     , Greg Lindahl wrote:
> On Thu, Apr 27, 2006 at 01:15:57AM +0300, Sasha Khapyorsky wrote:
> 
> > There is small patch for osm_log, this provide possibility to drop log
> > output to stdout or stderr.
> 
> Isn't the Unix convention to use "--" to mean stdout?

I guess taht "-" means stdout? Yes, I think this is nice to have, will
addi too.

> Or you can use
> /dev/fd/{0,1}...

Those are not different from regular files, nothing special is needed.

Sasha.



More information about the general mailing list