ifconfig-i386 on 8-STABLE/amd64

Xin LI delphij at gmail.com
Thu Apr 15 23:12:12 UTC 2010


Hi,

On Thu, Apr 15, 2010 at 2:59 PM, Jonathan Chen <jonc at chen.org.nz> wrote:
>    $ /compat/i386/sbin/ifconfig
>    : flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
>        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
>        inet 192.168.1.11 netmask 0xffffffff broadcast 192.168.1.11
>        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
>        inet 192.168.2.10 netmask 0xffffffff broadcast 192.168.2.10
>        inet 192.168.2.12 netmask 0xffffffff broadcast 192.168.2.12
>        inet 127.0.0.1 netmask 0xff000000
>    ifconfig: ioctl(SIOCGIFINFO_IN6): Device not configured
>
> Why is the output from the 32-bit ifconfig severely mangled?

My understanding is that 32-bit management tools like ifconfig is not
supported on 64-bit FreeBSD.  Someone has to sit down and write a
compatibility layer for translating back and forth :(

Cheers,
--
Xin LI <delphij at delphij.net> http://www.delphij.net


More information about the freebsd-stable mailing list