Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2001 13:38:17 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        GB Clark II <gclarkii@vsservices.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linux compatibility problem.
Message-ID:  <20010831133817.R29424@k7.mavetju.org>
In-Reply-To: <01083022344306.44450@prime.vsservices.com>; from gclarkii@vsservices.com on Thu, Aug 30, 2001 at 10:34:43PM -0500
References:  <20010831095244.N1562@freebsd06.udt> <20010831121657.S29422@k7.mavetju.org> <01083022344306.44450@prime.vsservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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