Re: ldomctl: list-io: print names

2020-03-17 Thread Mark Kettenis
> Date: Tue, 17 Mar 2020 17:27:21 +0100 > From: Klemens Nanni > > On Tue, Mar 17, 2020 at 03:26:56PM +0100, Mark Kettenis wrote: > > > @@ -2889,7 +2896,8 @@ list_components(void) > > > > > > pri_init(pri); > > > > > > + printf("PATH\t\tNAME\n"); > > > > Using tabs to make things line up is

Re: ldomctl: list-io: print names

2020-03-17 Thread Klemens Nanni
On Tue, Mar 17, 2020 at 03:26:56PM +0100, Mark Kettenis wrote: > > @@ -2889,7 +2896,8 @@ list_components(void) > > > > pri_init(pri); > > > > + printf("PATH\t\tNAME\n"); > > Using tabs to make things line up isn't going to work very well. So > better use field widths in the printf calls

Re: ldomctl: list-io: print names

2020-03-17 Thread Mark Kettenis
> Date: Tue, 17 Mar 2020 14:12:14 +0100 > From: Klemens Nanni > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Sat, Mar 07, 2020 at 05:44:12PM +0100, Klemens Nanni wrote: > > Next to the IO device path to be used in ldom.conf we can also print the > > name which a

Re: ldomctl: list-io: print names

2020-03-17 Thread Klemens Nanni
On Sat, Mar 07, 2020 at 05:44:12PM +0100, Klemens Nanni wrote: > Next to the IO device path to be used in ldom.conf we can also print the > name which actually tells in human readable form what device we're > looking at. > > Those names are printed in similar format by Solaris `ldm list-io' and >

ldomctl: list-io: print names

2020-03-07 Thread Klemens Nanni
Next to the IO device path to be used in ldom.conf we can also print the name which actually tells in human readable form what device we're looking at. Those names are printed in similar format by Solaris `ldm list-io' and directly match the the structure seen in the iLOM shell. $ doas ld