From owner-freebsd-current Sat Mar 18 11:29:45 2000 Delivered-To: freebsd-current@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 9DFA837B6AF for ; Sat, 18 Mar 2000 11:29:42 -0800 (PST) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 5FA0CAE8; Sat, 18 Mar 2000 11:29:41 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com with ESMTP (8.8.6 (PHNE_17135)/8.7.3 TIS 5.0.1) id LAA29470; Sat, 18 Mar 2000 11:29:40 -0800 (PST) Message-ID: <38D3D925.E0A2EDE6@cup.hp.com> Date: Sat, 18 Mar 2000 11:29:41 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: Steve Price Cc: Doug Barton , Donn Miller , Kris Kennaway , tsikora@powerusersbbs.com, "current@FreeBSD.ORG" Subject: Re: linux sysctl knobs (was Re: RealPlayer 7) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Price wrote: > On -current at least you can set the following sysctl knobs. Beware! > No telling what might break if you do this, so you're on your own if > you change them and weird things start happening with your other > Linux apps. > > $ sysctl -a | grep linux > compat.linux.osname: Linux > compat.linux.osrelease: 2.2.12 > compat.linux.oss_version: 198144 If you need to have compat.linux.osname something other than Linux *and* you also need it to have Linux for other binaries you are running concurrently, then you can always create a prison. The sysctls are on a per jail basis. See jail(8) FYI, -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message