Seb,

Maybe this is better, but I have  question ...

I imagine the one-line format works fine for the three properties we
have now because they fit in 80 or so columns. But if for
some reason we added more later would this present a problem with
output that is too wide?

Would we have to do something akin to what show-ether does? I gather
you sort of get the basic info without -x. And then get "extended"
stuff with -x ending up as multi-line output.

I just want to understand if we are possibly committing to
a future -x type solution too, if we go this way.

-ted


> I don't have a problem with the properties themselves, but the output
> format seems rather strange.  Presumably, the properties will show up in
> show-linkprop in a format similar (but not quite the same) as that as
> shown above, so it doesn't seem valuable to have this type of
> one-property per line format.  Instead, I'd expect these properties to
> show up as follows in the show-linkprop output:
> 
> LINK  PROPERTY        PERM VALUE              DEFAULT         POSSIBLE
> ibd0  partition       r-   ffff               --              --
> ibd0  broadcast       r-   on                 on              on,off
> ibd0  guid            r-   2c9030001c86c      --              --
> ibd1  partition       r-   ...
> 
> Then, to make things more legible for IB-specific output (analogous to
> the show-ether Ethernet-specific output), something like this in
> show-ib:
> 
> LINK  PARTITION       BROADCAST       GUID
> ibd0  ffff            on              2c9030001c86c
> ibd1  abcd            off             2134123412341
> ibd2  ...
> 
> That way, we don't have a subcommand that is almost totally without
> value beyond what show-linkprop shows, and one can get a nice IB
> overview without too much clutter with show-ib.

-- 
Ted H. Kim
Sun Microsystems, Inc.                  ted.kim at sun.com
222 North Sepulveda Blvd., 10th Floor   (310) 341-1116
El Segundo, CA  90245                   (310) 341-1120 FAX

Reply via email to