From owner-freebsd-stable Mon Jul 17 10:19:43 2000 Delivered-To: freebsd-stable@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id E6E4437B5A7; Mon, 17 Jul 2000 10:19:37 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 1ADD7646; Mon, 17 Jul 2000 10:19:34 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id KAA01814; Mon, 17 Jul 2000 10:19:33 -0700 (PDT) Message-ID: <39734025.4AF2C903@cup.hp.com> Date: Mon, 17 Jul 2000 10:19:33 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Carl Makin Cc: stable@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: Removing Path prefixing for Linux binaries. (ie to run ADSM) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [cc'd to emulation as well] Carl Makin wrote: > I've been trying to work out a clean way to label linux binaries that I > don't want the path prepending done to. This prepending makes the linux > ADSM client unusable (for example). > > Does anyone have any better ideas or is interested in working on this? The prepending is not bad. What is bad is that Linux binaries don't get to see the complete filesystem. I've been thinking about a unionfs type solution, but haven't been able to spend more time on it. Disabling the path prepending for Linux binaries is not a good solution in general, because you would probably end up trying to link FreeBSD libraries that happen to have the same name as the Linux libraries you're actually trying to link in (assuming dynamic linking in this case). You don't have that problem for static linked binaries. No matter how you linked your binary, you also have possible configuration file conflicts... -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message