From owner-freebsd-questions Thu Aug 30 23:34:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 6481337B405 for ; Thu, 30 Aug 2001 23:34:43 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 5639C2B70B; Fri, 31 Aug 2001 05:38:24 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 9364818F; Fri, 31 Aug 2001 13:38:17 +1000 (EST) Date: Fri, 31 Aug 2001 13:38:17 +1000 From: Edwin Groothuis To: GB Clark II Cc: freebsd-questions@freebsd.org Subject: Re: Linux compatibility problem. Message-ID: <20010831133817.R29424@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , GB Clark II , freebsd-questions@freebsd.org References: <20010831095244.N1562@freebsd06.udt> <20010831121657.S29422@k7.mavetju.org> <01083022344306.44450@prime.vsservices.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01083022344306.44450@prime.vsservices.com>; from gclarkii@vsservices.com on Thu, Aug 30, 2001 at 10:34:43PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 30, 2001 at 10:34:43PM -0500, GB Clark II wrote: > On Thursday 30 August 2001 21:16, you wrote: > > On Fri, Aug 31, 2001 at 09:52:44AM +0800, Trent Nelson wrote: > > > If I've invoked /compat/linux/bin/bash and attempt to run a shell > > > script that has "#!/bin/sh" as its first line, the FreeBSD /bin/sh > > > seems to get called as the interpreter - as opposed to > > > /compat/linux/bin/sh. Is this correct? > > > > Yups. Shell scripts are not linux-programs :-) > > Nope. When you run the linux shell you get the linux paths from root. > Create a shell script to run uname -a and then run it from inside of the > linux shell, you'll get the linux uname just fine. Or you should.... Doh, didn't see his first line: "I've invoked /compat/linux/bin/bash". Apologies, you are right. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message