Re: Netstat -i 5-character interface name length?

From: George Michaelson <ggm_at_algebras.org>
Date: Thu, 30 Jun 2022 22:50:38 UTC
Is there a reason (avoid bikeshedding) the field width can't be
increased to allow the bgeXhexIsVeryLong0 names to work?

I'm not saying "you can alias around this" is bad, but I sense we're
walking into a world which is where Linux is, with every physical
device called eth0/1/2 and then "which" device is eth0 becomes a
question..

On Fri, Jul 1, 2022 at 1:17 AM Rodney W. Grimes
<freebsd-rwg@gndrsh.dnsmgr.net> wrote:
>
> [ Charset UTF-8 unsupported, converting... ]
> > On 6/29/2022 10:56 AM, Chris Ross wrote:
> > > Hello folks. ?I just noticed something that I?m sure has been true
> > > forever, but I checked and it?s still true on my 12.3-STABLE system.
> > >
> > One of the first local mods I do is alias netstat to netstat -W for this
> > reason. e.g.
> > alias netstat?? netstat -W
> >
> > in /etc/csh.cshrc
>
> That only fixes it for your interactive csh processes, the
> original poster had specifically mentioned output from
> periodic scrips, aka daily iirc.
>
> One thing that can be done to mitigate the long vlan
> dev name (imho the vlan driver should of just named
> itself much short, like "vl", as most network devices
> are 2 litter names anyway) is to use the "name" option
> of ifconfig to give them a better name than the default.
>
> ifconfig vlan2 create vlandev em0 vlan 2 name v2
>
> --
> Rod Grimes                                                 rgrimes@freebsd.org
>