Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 12:42:24 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        Roger Savard <Unix@henoc.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: sysctl
Message-ID:  <Pine.NEB.3.96L.1011224124126.29753B-100000@fledge.watson.org>
In-Reply-To: <1009149673.338.6.camel@JSBach.henocoffice.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If the sysctl's are set before the linux emulator is loaded, that could
explain what you saw.  A similar problem was bumped into with regards to
nfs recently, actually.  Try setting them in rc.local and see if that
improves things.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services

On 23 Dec 2001, Roger Savard wrote:

> Hi,
> 
> 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 get this result now:
> %sysctl -a | grep os
> ...
> 
> pcib0: <Host to PCI bridge> on motherboard
> <118>unknown oid 'compat.linux.osname'
> <118>unknown oid 'compat.linux.osrelease'
> <118> hostname
> <118>	media: Ethernet autoselect (100baseTX <full-duplex>)
> user.posix2_version: 199212
> user.posix2_c_bind: 0
> user.posix2_c_dev: 0
> user.posix2_char_term: 0
> user.posix2_fort_dev: 0
> user.posix2_fort_run: 0
> user.posix2_localedef: 0
> user.posix2_sw_dev: 0
> user.posix2_upe: 0
> jail.set_hostname_allowed: 1
> compat.linux.osname: Linux
> compat.linux.osrelease: 2.4.2
> compat.linux.oss_version: 198144
> 
> No changes !!
> 
> Thanks again.
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011224124126.29753B-100000>