From owner-freebsd-questions Fri May 18 5:35:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 5329D37B424 for ; Fri, 18 May 2001 05:35:13 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 39358 invoked by uid 100); 18 May 2001 12:35:11 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15109.5887.180624.727759@guru.mired.org> Date: Fri, 18 May 2001 07:35:11 -0500 To: Paul Murphy Cc: questions@freebsd.org Subject: Re: Linux Netscape Stamp In-Reply-To: <3B04F685.F1A750BE@home.com> References: <15108.29693.865998.259098@guru.mired.org> <3B04F685.F1A750BE@home.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG Paul Murphy types: > Mike Meyer wrote: > > Use the sysctls "compat.linux.osname" and "compat.linux.osrelease" I > > set them in /etc/rc.local: > > > > sysctl -w compat.linux.osname=$(uname -s) > > sysctl -w compat.linux.osrelease=$(uname -r) > Are you sure that's right? When I type that in a shell I get "Illegal > variable name". Yup, those are taken directly from my /etc/rc.local, and a cut-n-paste of those names from the message gets back the values I expect. I've been using this since 4.2-STABLE; if you're running something earlier, it may not work. The other possibility is that you're trying to set them before the linux module is loaded. For instance, if you're trying to set them vi /etc/rc.sysctl, that happens before the linux module is loaded. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message