From owner-freebsd-questions@FreeBSD.ORG Mon Jan 14 11:43:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105A416A419 for ; Mon, 14 Jan 2008 11:43:46 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from dd17730.kasserver.com (dd17730.kasserver.com [85.13.138.103]) by mx1.freebsd.org (Postfix) with ESMTP id D441E13C47E for ; Mon, 14 Jan 2008 11:43:45 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from nermal.rz1.convenimus.net (sub87-230-112-53.he-dsl.de [87.230.112.53]) by dd17730.kasserver.com (Postfix) with ESMTP id B0A4518703FB7 for ; Mon, 14 Jan 2008 12:43:44 +0100 (CET) Received: by nermal.rz1.convenimus.net (Postfix, from userid 8) id 3751415217; Mon, 14 Jan 2008 12:11:07 +0100 (CET) To: freebsd-questions@freebsd.org Path: not-for-mail From: Christian Baer Newsgroups: gmane.os.freebsd.questions Date: Mon, 14 Jan 2008 12:11:07 +0100 (CET) Organization: Convenimus Projekt Lines: 14 Message-ID: References: <478AA6DE.2080905@FreeBSD.org> NNTP-Posting-Host: sunny.rz1.convenimus.net X-Trace: nermal.rz1.convenimus.net 1200309067 32851 192.168.100.5 (14 Jan 2008 11:11:07 GMT) X-Complaints-To: abuse@convenimus.net NNTP-Posting-Date: Mon, 14 Jan 2008 11:11:07 +0000 (UTC) User-Agent: slrn/0.9.8.1 (FreeBSD/6.2-RELEASE-p8 (sparc64)) Subject: Re: Changing the output of uname -m or -p X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 11:43:46 -0000 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