Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2010 11:30:01 -0600
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, weongyo@freebsd.org, Hans Petter Selasky <hselasky@freebsd.org>
Subject:   Re: More "noise" in ifconfig
Message-ID:  <AANLkTikfEDayzhdiGpT3OO45PyZsAqqmjNs7thzpA1Sx@mail.gmail.com>
In-Reply-To: <AANLkTimhOK5HXm6KhEVCSFmwjM0DMdu-uaAh-1W6Nv0C@mail.gmail.com>
References:  <AANLkTimhOK5HXm6KhEVCSFmwjM0DMdu-uaAh-1W6Nv0C@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 30, 2010 at 11:21 AM, Garrett Cooper <yanegomi@gmail.com> wrote=
:
> =A0 =A0Just updated to HEAD and I saw the recent ifconfig, usb ethernet,
> et all changes:
>
> $ ifconfig
> usbus0: flags=3D0<> metric 0 mtu 0
> usbus1: flags=3D0<> metric 0 mtu 0
> usbus2: flags=3D0<> metric 0 mtu 0
> usbus3: flags=3D0<> metric 0 mtu 0
> msk0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
> =A0 =A0 =A0 =A0options=3Dc011b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4=
,VLAN_HWTSO,LINKSTATE>
> =A0 =A0 =A0 =A0ether 00:1d:60:b6:eb:97
> =A0 =A0 =A0 =A0inet 192.168.20.3 netmask 0xffffff00 broadcast 192.168.20.=
255
> =A0 =A0 =A0 =A0media: Ethernet autoselect (1000baseT
> <full-duplex,flowcontrol,rxpause,txpause>)
> =A0 =A0 =A0 =A0status: active
> usbus4: flags=3D0<> metric 0 mtu 0
> usbus5: flags=3D0<> metric 0 mtu 0
> usbus6: flags=3D0<> metric 0 mtu 0
> usbus7: flags=3D0<> metric 0 mtu 0
> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> =A0 =A0 =A0 =A0options=3D3<RXCSUM,TXCSUM>
> =A0 =A0 =A0 =A0inet 127.0.0.1 netmask 0xff000000
> $ ifconfig -l
> usbus0 usbus1 usbus2 usbus3 msk0 usbus4 usbus5 usbus6 usbus7 lo0
>
> =A0 =A0I don't have any USB ethernet devices, so I would expect usbus, et
> all to be blank, but this would break a few (dumb) scenarios we have
> at my work where it goes and looks at ifconfig -l (of course I've
> tried convincing others to use ifconfig -l inet instead, but that was
> to no avail).
> =A0 =A0This could potentially break other dumb scripts as well.
> =A0 =A0So the question is: what are we gaining with this additional, ters=
e output?
> Thanks,
> -Garrett

I believe a patch has been proposed that would eliminate the usbus
devices from ifconfig output:

http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021542.htm=
l

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikfEDayzhdiGpT3OO45PyZsAqqmjNs7thzpA1Sx>