From owner-freebsd-stable Mon Dec 24 4:42:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id BE5F537B405 for ; Mon, 24 Dec 2001 04:42:08 -0800 (PST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id fBOCfSa03740; Mon, 24 Dec 2001 13:41:28 +0100 (CET) (envelope-from wkb) Date: Mon, 24 Dec 2001 13:41:28 +0100 From: Wilko Bulte To: Tom Cc: Roger Savard , freebsd-stable@FreeBSD.ORG Subject: Re: sysctl Message-ID: <20011224134128.D3450@freebie.xs4all.nl> References: <1009149673.338.6.camel@JSBach.henocoffice.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tom@uniserve.com on Sun, Dec 23, 2001 at 03:41:51PM -0800 X-OS: FreeBSD 4.5-PRERELEASE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Dec 23, 2001 at 03:41:51PM -0800, Tom wrote: > > On 23 Dec 2001, Roger Savard wrote: > > > I usually use /etc/sysctl.conf to modify two parameters > > > > compat.linux.osname=FreeBSD > > compat.linux.osrelease=4.4-Stable > > > > The reason behind this is to be accounted for FreeBSD instead of Linux > > ... some day will have native freebsd code... > > I don't understand why you want the Linux emulation module to tell Linux > apps that the the OS is FreeBSD? That would break the emulation. It is > also isn't a changable value. It is set to match the version of Linux the > emulation module most closely emulates. Sure it is changable: wb ~: sysctl -a | grep compat compat.linux.osname: FreeBSD compat.linux.osrelease: 4.5-PRERELEASE compat.linux.oss_version: 198144 wb ~: It makes things like Netscape leave FreeBSD iso Linux in the logs of the webservers ;) I never saw it break anything. -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message