From owner-freebsd-hackers Thu Nov 12 14:14:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00208 for freebsd-hackers-outgoing; Thu, 12 Nov 1998 14:14:19 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from porkfriedrice.ny.genx.net (porkfriedrice.ny.genx.net [206.64.4.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA00183 for ; Thu, 12 Nov 1998 14:14:12 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by porkfriedrice.ny.genx.net (8.9.1/8.9.1) with ESMTP id RAA23313; Thu, 12 Nov 1998 17:16:47 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: porkfriedrice.ny.genx.net: bright owned process doing -bs Date: Thu, 12 Nov 1998 17:16:47 -0500 (EST) From: Alfred Perlstein X-Sender: bright@porkfriedrice.ny.genx.net To: Joel Ray Holveck cc: hackers@FreeBSD.ORG Subject: Re: linux software installation and uname In-Reply-To: <8667ckr2jc.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 12 Nov 1998, Joel Ray Holveck wrote: > >>>> 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 /. > >>> chroot /compat/linux ; install > >> Not unless you have a complete minimal tree under /compat/linux. > > Someone asked for a solution that didn't require corrupting the base > > FreeBSD installation or source tree with compatability issues. I am well > > aware of the technical necessities of a chrooted environment, but it does > > give you a clean way to handle special cases like this. > > If we assume a complete minimal tree under /compat/linux, then it > follows that there exists a /compat/linux/bin/uname. Adding it to the > $PATH before running the install script is sufficient. (This would > replace the chroot step, so considerations about r/o media do not > create a distinction between these proposals.) Therefore, it seems > that the requirements for my proposal are a subset of the requirements > of yours. If you do a lot of Linux work, then having a complete > /compat/linux is probably a good thing. Personally, I don't, so I > would prefer to only add a uname. simple solution: If you want linux emulation, then download a minimal linux dist and install it. Perhaps a package could be made for "large emulation" ie, many of the basic linux binaries installed into /compat/linux instead of just the libs and a few key programs. Then chroot would definetly work... Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message