Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 14:45:45 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-emulation@FreeBSD.ORG
Subject:   Re: HEADS-UP: new dummy syscalls for linuxolator -> new console ?messages
Message-ID:  <200606141245.k5ECjjjY086499@lurza.secnetix.de>
In-Reply-To: <freebsd-emulation.20060614111308.eln9cfa8o0c4osko@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger <Alexander@leidinger.net> wrote:
 > Quoting Divacky Roman <xdivac02@stud.fit.vutbr.cz> wrote:
 > > [...]
 > > I doubt anyone will see any messages unless he/she sets   
 > > compat.linux.osrelease
 > > to something higher then 2.6.16
 > 
 > Which is not recommended except you don't mind running into bugs and  
 > getting coredumps from some programs.

That's interesting to know.  Is that documented somewhere?
I always set the sysctls like this (e.g. on FreeBSD 6.1):

compat.linux.osrelease: 6.1
compat.linux.osname: FreeBSD

(I have an rc.d script which uses the output from uname -rs
to set those two sysctls accordingly.)

So far, I have never encountered any problems.  I'm doing
that because I use the Linux binary of Opera, and I prefer
the "User-Agent" header to say FreeBSD instead of Linux,
so it will be counted correctly for sites that collect
statistics about the OS of their visitors.

Should I expect to run into problems with that in the
future?  If so, I think a warning should be added to the
linux(4) manpage.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"[...]  one observation we can make here is that Python makes
an excellent pseudocoding language, with the wonderful attribute
that it can actually be executed."  --  Bruce Eckel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606141245.k5ECjjjY086499>