From owner-freebsd-hackers Mon Nov 9 12:04:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14889 for freebsd-hackers-outgoing; Mon, 9 Nov 1998 12:04:29 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA14883 for ; Mon, 9 Nov 1998 12:04:27 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id NAA07292; Mon, 9 Nov 1998 13:04:08 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA06080; Mon, 9 Nov 1998 13:04:07 -0700 Date: Mon, 9 Nov 1998 13:04:07 -0700 Message-Id: <199811092004.NAA06080@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Steve Kargl Cc: nate@mt.sri.com (Nate Williams), jkh@time.cdrom.com, crossd@cs.rpi.edu, hackers@FreeBSD.ORG Subject: Re: linux software installation and uname In-Reply-To: <199811091956.LAA11186@troutmask.apl.washington.edu> References: <199811091933.MAA05814@mt.sri.com> <199811091956.LAA11186@troutmask.apl.washington.edu> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > I think the correct thing to do here is simply give uname(1) some > > > truly switchable behavior, as Steve's second patch did. > > > > The user then has to be aware of the 'LINUX_EMULATION' environment > > variable, which is non-intuitive. The /compat/linux script is a much > > better solution since it doesn't require any magic environment > > knowledge that must be modified if you run binaries from multiple > > 'emulated' OS's. > > > > You're assuming the vendor supplied script will pick up the script > in /compat/linux. That, is not the case for the Portland Group > script: You didn't answer the question. What if I have multiple binaries from different OS's on the system. The user has to be aware of the 'magic' environment variable and have it switch between them. Once we're on that path, we're no better off than we are now. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message