[ofa-general] Re: [PATCH] infiniband-diags: command line option processing framework

Sasha Khapyorsky sashak at voltaire.com
Mon Jan 26 09:57:53 PST 2009


Hi Al,

On 09:22 Mon 26 Jan     , Al Chu wrote:
> 
> Just wondering, what tools are you targeting for these unified command
> line options?

All tools in infiniband-diags (see the next posted patch).

> Since (doing a quick glance) it will break some options
> for some tools.
> 
> for ibstat
> 
> /usr/sbin/ibstat -l       # list all IB devices

'-l' is not a common option and for ibstat it will work as usual. Even
when some tool redefines one of common options it can handle this in
custom option processor and "to ban" its processing.

> 
> I don't think there will be a lot of issues.  Any changes will just have
> to be announced/documented in the release notes so people can update
> scripts.

My idea was to not change an actual usage at all. And as far as I can see
backward compatibility is preserved.

Sasha



More information about the general mailing list