From owner-freebsd-hackers Wed Nov 11 13:40:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06222 for freebsd-hackers-outgoing; Wed, 11 Nov 1998 13:40:55 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from animaniacs.itribe.net (gatekeeper.itribe.net [209.49.144.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA06214 for ; Wed, 11 Nov 1998 13:40:48 -0800 (PST) (envelope-from jamie@itribe.net) Received: from localhost (jamie@localhost) by animaniacs.itribe.net (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id QAA03917; Wed, 11 Nov 1998 16:12:57 -0500 Date: Wed, 11 Nov 1998 16:12:57 -0500 (EST) From: Jamie Bowden To: Joel Ray Holveck cc: Doug Rabson , Sren Schmidt , Jacques Vidrine , sgk@troutmask.apl.washington.edu, nate@mt.sri.com, kkennawa@physics.adelaide.edu.au, dnelson@emsphone.com, rivers@dignus.com, hackers@FreeBSD.ORG Subject: Re: linux software installation and uname In-Reply-To: <86k913hy3q.fsf@detlev.UUCP> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10 Nov 1998, Joel Ray Holveck wrote: > >>> Why would we not put a real linux uname(1) in /compat/linux/usr/bin? > >>> This is an emulation issue. Why impact the BSD userland sources? > >> Hear hear!! > > I imagine that the install script is run by /bin/sh, not > > /compat/linux/bin/sh so it will get the regular /usr/bin/uname > > whatever is present in /compat/linux/usr/bin. > > I have yet to hear of any solutions that don't require a hack to the > install procedure (eg, setting an environment variable). Unless > somebody comes up with an idea that would magically detect what > environment a given script wants, I would recommend putting a Linux > uname in /copmat/linux where it belongs, and the install procedure's > PATH can have /compat/linux ahead of /. This is easy to implement, > keeps the core of FreeBSD pure, and paves the way for future > similarities. chroot /compat/linux ; install Jamie Bowden -- Systems Administrator, iTRiBE.net If we've got to fight over grep, sign me up. But boggle can go. -Ted Faber (on Hasbro's request for removal of /usr/games/boggle) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message