Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 1997 09:57:23 -0400 (EDT)
From:      Tim Vanderhoek <hoek@hwcn.org>
To:        Richard Foulk <richard@pegasus.com>
Cc:        freebsd-emulation@freefall.FreeBSD.org, freebsd-hackers@freefall.FreeBSD.org
Subject:   Re: LINUX emulation and uname(3).
Message-ID:  <Pine.GSO.3.96.971011094708.1979A-100000@james.freenet.hamilton.on.ca>
In-Reply-To: <199710110256.QAA19979@pegasus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Oct 1997, Richard Foulk wrote:

> If it runs under Linux it should run under the emulator.  Good emulation
> is fully bug compatible.

Linux uname() _DOES NOT_ return "Linux", it returns the name of
the operating system!  That just happens to be "Linux" on most
implementations, but if you were to read the manpage, you would
see that uname() on Linux is not guaranteed to return "Linux".

http://www.ctyme.com/linuxdoc/MAN0810.HTM

Similarly, if you read FreeBSD uname() manpage, you will see that
we are not documented to return "FreeBSD".  Ie. Our uname() can
return "Linux", "Xenix", or "Win95" and still be working
correctly.


--
Outnumbered?  Maybe.  Outspoken?  Never!
tIM...HOEk





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.971011094708.1979A-100000>