Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2010 22:24:06 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        "Ilya A. Arhipov" <pa36ouHu4er@yandex.ru>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: More "noise" in ifconfig
Message-ID:  <AANLkTinyoncv_h7RXwjgMgPppzGcBzP=o%2BdRP8LWiaTO@mail.gmail.com>
In-Reply-To: <540611291184489@web44.yandex.ru>
References:  <AANLkTimhOK5HXm6KhEVCSFmwjM0DMdu-uaAh-1W6Nv0C@mail.gmail.com> <540611291184489@web44.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/11/30 Ilya A. Arhipov <pa36ouHu4er@yandex.ru>:
> 30.11.10, 20:21, "Garrett Cooper" <yanegomi@gmail.com>:
>
>> =A0=A0=A0=A0Just updated to HEAD and I saw the recent ifconfig, usb ethe=
rnet,
>> =A0et all changes:
>>
>> =A0$ ifconfig
>> =A0usbus0: flags=3D0<> metric 0 mtu 0
>> =A0usbus1: flags=3D0<> metric 0 mtu 0
>> =A0usbus2: flags=3D0<> metric 0 mtu 0
>> =A0usbus3: flags=3D0<> metric 0 mtu 0
>> =A0msk0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 m=
tu 1500
>> =A0 =A0 =A0 options=3Dc011b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,V=
LAN_HWTSO,LINKSTATE>
>> =A0 =A0 =A0 ether 00:1d:60:b6:eb:97
>> =A0 =A0 =A0 inet 192.168.20.3 netmask 0xffffff00 broadcast 192.168.20.25=
5
>> =A0 =A0 =A0 media: Ethernet autoselect (1000baseT
>> =A0<full-duplex,flowcontrol,rxpause,txpause>)
>> =A0 =A0 =A0 status: active
>> =A0usbus4: flags=3D0<> metric 0 mtu 0
>> =A0usbus5: flags=3D0<> metric 0 mtu 0
>> =A0usbus6: flags=3D0<> metric 0 mtu 0
>> =A0usbus7: flags=3D0<> metric 0 mtu 0
>> =A0lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>> =A0 =A0 =A0 options=3D3<RXCSUM,TXCSUM>
>> =A0 =A0 =A0 inet 127.0.0.1 netmask 0xff000000
>> =A0$ ifconfig -l
>> =A0usbus0 usbus1 usbus2 usbus3 msk0 usbus4 usbus5 usbus6 usbus7 lo0
>>
>> =A0 =A0=A0=A0I don't have any USB ethernet devices, so I would expect us=
bus, et
>> =A0all to be blank, but this would break a few (dumb) scenarios we have
>> =A0at my work where it goes and looks at ifconfig -l (of course I've
>> =A0tried convincing others to use ifconfig -l inet instead, but that was
>> =A0to no avail).
>> =A0 =A0=A0=A0This could potentially break other dumb scripts as well.
>> =A0 =A0=A0=A0So the question is: what are we gaining with this additiona=
l, terse output?

...

> Log:
> =A0Don't print usbus[0-9] interfaces that it's not the interesting
> =A0interface type for ifconfig(8).
> svn commit: r216089

    Yeah, I saw that earlier.
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinyoncv_h7RXwjgMgPppzGcBzP=o%2BdRP8LWiaTO>