Subject: Re: kern.hostid
To: Andrew Brown <atatat@atatdot.net>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 04/15/2004 09:14:05
--tsOsTdHNUZQcU9Ye
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Apr 15, 2004 at 12:03:46AM -0400, Andrew Brown wrote:
> the kern.hostid node is currently an "int", which means that if the
> hostid that the kernel returns has the high bit set, it gets prints as
> a negative number. regardless of the fact that the hostid is largely
> meaningless (wrt sign, not to those applications that care about its
> value), perhaps it might make more sense for it to be printed as a hex
> number, much like the output of the solaris hostid command?
>=20
> anyone care? or shall i just change it?
Just change it.
Take care,
Bill
--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFAfrTNWz+3JHUci9cRAp/hAJ9dS/hyGHc37CgAboosgDVezdUDlQCfffwH
/NV6sJLqXNpYQ0STeNSr6PQ=
=sNjG
-----END PGP SIGNATURE-----
--tsOsTdHNUZQcU9Ye--