From owner-freebsd-hackers Thu Nov 12 14:05:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28547 for freebsd-hackers-outgoing; Thu, 12 Nov 1998 14:05:42 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from detlev.UUCP (tex-95.camalott.com [208.229.74.95]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28502 for ; Thu, 12 Nov 1998 14:05:25 -0800 (PST) (envelope-from joelh@gnu.org) Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id QAA21208; Thu, 12 Nov 1998 16:04:23 -0600 (CST) (envelope-from joelh) To: Jamie Bowden Cc: hackers@FreeBSD.ORG Subject: Re: linux software installation and uname References: From: Joel Ray Holveck Date: 12 Nov 1998 16:04:23 -0600 In-Reply-To: Jamie Bowden's message of "Thu, 12 Nov 1998 08:14:51 -0500 (EST)" Message-ID: <8667ckr2jc.fsf@detlev.UUCP> Lines: 28 X-Mailer: Gnus v5.5/Emacs 20.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>> 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. Happy hacking, joelh -- Joel Ray Holveck - joelh@gnu.org Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message