uname -m/-p for compat32 binaries

Dag-Erling Smørgrav des at des.no
Tue Jul 20 11:12:31 UTC 2010


Kostik Belousov <kostikbel at gmail.com> writes:
> I intend to commit the following change, that makes sysctls
> hw.machine_arch and hw.machine to return "i386" for 32 bit
> binaries run on amd64. In particular, 32 bit uname -m and uname -p
> print "i386", that is good for i386 jails on amd64 kernels.

*thank you*, this trips me up every time I need to set up a 32-bit
chroot or jail for some reason.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-amd64 mailing list