Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 18:14:30 +0900 (JST)
From:      KATO Takenori <kato@nendai.nagoya-u.ac.jp>
To:        marcel@xcllnt.net
Cc:        imp@harmony.village.org, ru@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: hw.machine vs hw.machine_arch
Message-ID:  <200109140914.f8E9EZO87758@tatu.nendai.nagoya-u.ac.jp>
In-Reply-To: <20010914012406.B16118@dhcp01.pn.xcllnt.net>
References:  <200109131133.f8DBXoO84286@tatu.nendai.nagoya-u.ac.jp> <200109140648.f8E6mFt19413@harmony.village.org> <20010914012406.B16118@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: hw.machine vs hw.machine_arch
Date: Fri, 14 Sep 2001 01:24:06 -0700

> Both MIBs (ie hw.machine and machdep.ispc98) serve the same purpose
> as far as I can see, so we should be able to remove one of them
> (preferably machdep.ispc98).

Both machine and machine_arch are `i386' on PC-98 to avoid
problem of third-party applications.  If a program uses the machine
instead of the machine_arch, that program can not be used on PC-98
box.  It happens not only when a program uses sysctl, also a program
uses uname (uname returns machine instead of machine_arch.)

-----------------------------------------------+--------------------------+
KATO Takenori <kato@nendai.nagoya-u.ac.jp>     |        FreeBSD           |
Center for Chronological Research, Nagoya Univ.|    The power to serve!   |
Nagoya, 464-8602, Japan                        |  http://www.FreeBSD.org/ |
                                               |http://www.jp.FreeBSD.org/|
++++ FreeBSD(98) 4.3R-Rev. 01 available!       +==========================+

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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