Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2010 16:12:11 -0700
From:      Xin LI <delphij@gmail.com>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ifconfig-i386 on 8-STABLE/amd64
Message-ID:  <g2wa78074951004151612yf4105587nfe9a547b62d77115@mail.gmail.com>
In-Reply-To: <20100415215941.GA14428@osiris.chen.org.nz>
References:  <20100415215941.GA14428@osiris.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Thu, Apr 15, 2010 at 2:59 PM, Jonathan Chen <jonc@chen.org.nz> wrote:
> =C2=A0 =C2=A0$ /compat/i386/sbin/ifconfig
> =C2=A0 =C2=A0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.1.10 netmask 0xffffff00 broadcast=
 192.168.1.255
> =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.1.11 netmask 0xffffffff broadcast=
 192.168.1.11
> =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.2.1 netmask 0xffffff00 broadcast =
192.168.2.255
> =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.2.10 netmask 0xffffffff broadcast=
 192.168.2.10
> =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.2.12 netmask 0xffffffff broadcast=
 192.168.2.12
> =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 127.0.0.1 netmask 0xff000000
> =C2=A0 =C2=A0ifconfig: 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@delphij.net> http://www.delphij.net



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