From owner-freebsd-stable@FreeBSD.ORG Thu Apr 15 23:12:12 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDEAA106566B for ; Thu, 15 Apr 2010 23:12:12 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id A48748FC12 for ; Thu, 15 Apr 2010 23:12:12 +0000 (UTC) Received: by pvc7 with SMTP id 7so1368736pvc.13 for ; Thu, 15 Apr 2010 16:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tJCIRyPBWSUNm+8EXpZIjHxMfik82Ls0pMAidLbauxA=; b=WE5wLiLlTrtYInPOiCL6YnL/IvMcCWC7Psv0CA04Mc/dk8xrLWNqvuvAOKby0+MHGO S40HD4ddtqt5BZe7HX8G9uW76/1rRrJqhOny9zJmpuKKjBnZU7hGAL3lokr8TGNuFIjD DBC4cOGdLHwp07XfBeRMuTguVjcdJgxd5Ikz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vfc2OSnIU3Uc7TBoxFsZdqsmOGKA7pHlOyJr1A3SIZe2wrE0z3YV/kNoNyDXkwrkSS jqoyLvRdZGbDjqp/8gxr9mzE+o9jifJBoNALtKuqI5DC2JO0ZOrwmRTQ5Sxf6iF407XO KXUPFfLYFiLd+97kZh28dEdB22QgV6BB+MnVE= MIME-Version: 1.0 Received: by 10.140.148.20 with HTTP; Thu, 15 Apr 2010 16:12:11 -0700 (PDT) In-Reply-To: <20100415215941.GA14428@osiris.chen.org.nz> References: <20100415215941.GA14428@osiris.chen.org.nz> Date: Thu, 15 Apr 2010 16:12:11 -0700 Received: by 10.141.214.38 with SMTP id r38mr1154706rvq.258.1271373131833; Thu, 15 Apr 2010 16:12:11 -0700 (PDT) Message-ID: From: Xin LI To: Jonathan Chen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: ifconfig-i386 on 8-STABLE/amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 23:12:12 -0000 Hi, On Thu, Apr 15, 2010 at 2:59 PM, Jonathan Chen wrote: > =C2=A0 =C2=A0$ /compat/i386/sbin/ifconfig > =C2=A0 =C2=A0: flags=3D8843 > =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 http://www.delphij.net