Changing the output of uname -m or -p

Christian Baer christian.baer at uni-dortmund.de
Mon Jan 14 03:43:46 PST 2008


On Mon, 14 Jan 2008 01:03:42 +0100 Kris Kennaway wrote:

>> Can this even be done and if so how?
> See the manpage, and the UNAME_* variables.

One other thing: Will that change the way the system reacts in any way?
Apps should run normally (well, a browser may give a wrong plattform
information but that should be it). But what happens if you try to compile
something? Will a wrong plattform or CPU variable screw up what the
compiler spits out? Could be rather unhealthy if the compiler optimizes
code for a sun4u on an i386. :-)

Regards,
Chris


More information about the freebsd-questions mailing list