From owner-freebsd-emulation Fri Oct 10 10:42:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA26220 for emulation-outgoing; Fri, 10 Oct 1997 10:42:57 -0700 (PDT) (envelope-from owner-freebsd-emulation) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA26202; Fri, 10 Oct 1997 10:42:49 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from ponds.dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.5/8.8.4) with ESMTP id NAA01059; Fri, 10 Oct 1997 13:35:03 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by ponds.dignus.com (8.8.5/8.8.5) with ESMTP id NAA23442; Fri, 10 Oct 1997 13:44:41 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.5/8.6.9) id NAA09326; Fri, 10 Oct 1997 13:34:43 -0400 (EDT) Date: Fri, 10 Oct 1997 13:34:43 -0400 (EDT) From: Thomas David Rivers Message-Id: <199710101734.NAA09326@lakes.dignus.com> To: rivers@dignus.com, sos@sos.freebsd.dk Subject: Re: LINUX emulation and uname(3). Cc: cracauer@cons.org, freebsd-emulation@freefall.FreeBSD.org, freebsd-hackers@freefall.FreeBSD.org, jlemon@americantv.com Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Maybe a sysctl, so people could taylor it, is the right thing to do. > > In any event, I think a uname() call under Linux emulation should claim > > to be "Linux" and not "FreeBSD". So, the default should be "Linux"... > > NO, I think this is a bad idea. First off it _is_ not a Linux system, > second the next thing is you will have to report an os version. Now tell > me which of the bezillions Linux's versions are we going to call us then ? > And besides some programs uses this to tell other services which platform > they are running on, we dont want to advertise ourselves as Linux do we ?? > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team > Even more code to hack -- will it ever end > .. > Well - I suppose it comes down to just how much of an emulation we want to be... That is, do we want to be able to run any Linux program; or some (admittedly large) subset of them? Since there are many different variants of Linux emulation; I'd suggest we simply report our emulation version as the OS version. And - we would not be advertising ourselves as Linux; but simply being faithful to the emulation... - Dave Rivers -