Date: Fri, 1 Jul 2022 08:50:38 +1000 From: George Michaelson <ggm@algebras.org> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> Cc: mike tancsa <mike@sentex.net>, Chris Ross <cross+freebsd@distal.com>, freebsd-net@freebsd.org Subject: Re: Netstat -i 5-character interface name length? Message-ID: <CAKr6gn2TpdcWS-J159zPiCM5t=PKKp8gw5jEq7gefLqJ-88zZA@mail.gmail.com> In-Reply-To: <202206301516.25UFGSrM090126@gndrsh.dnsmgr.net> References: <0843509a-fe0c-ffe8-2cfe-534872bc33bd@sentex.net> <202206301516.25UFGSrM090126@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKr6gn2TpdcWS-J159zPiCM5t=PKKp8gw5jEq7gefLqJ-88zZA>