From owner-freebsd-emulation Wed Feb 3 23:24:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA29427 for freebsd-emulation-outgoing; Wed, 3 Feb 1999 23:24:10 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles214.castles.com [208.214.165.214]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29421 for ; Wed, 3 Feb 1999 23:24:08 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id XAA12343; Wed, 3 Feb 1999 23:19:44 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199902040719.XAA12343@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: alk@pobox.com cc: mike@smith.net.au, emulation@FreeBSD.ORG Subject: Re: Linux collections (was: Linux devel doesn't work with glibc In-reply-to: Your message of "Thu, 04 Feb 1999 01:17:10 CST." <14009.18708.573160.241150@avalon.east> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Feb 1999 23:19:43 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Quoth Mike Smith on Wed, 3 February: > : "linux space" > > Is there a document anywhere which details the defining > characteristics of "linux space" and its relationship to > the bigger world? A process running in "linux space" is treated like a Linux process; it's expected to make Linux system calls, and its view of the filesystem is altered such that /compat/linux is layered over the true root filesystem. This last is the most critical; shellscripts written for Linux *must* run under a shell in "linux space", as otherwise they will pick up the FreeBSD versions of things they run, as well as not find things that are in different places on the two systems. Take as a really simple example, 'uname'. If the script is run in "normal space", it'll return "FreeBSD". If the script is running in "linux space", it'll return "Linux". For most applications, we want _the_latter_. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message