From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0cedbe8a9651cd81e54f64c8480339eb@plan9.escet.urjc.es> From: Fco.J.Ballesteros To: 9fans@cse.psu.edu Subject: Re: [9fans] silly bind quetsion In-Reply-To: <583603dcbf27fd4d4ac703fdee25383a@snellwilcox.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-rmeooitzhrnutrckuklrdndbow" Date: Fri, 28 Mar 2003 18:25:14 +0100 Topicbox-Message-UUID: 85f7217e-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-rmeooitzhrnutrckuklrdndbow Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit You have to bind each directory separately, but pay attention to the order, because once you bind /local/bin to /386/bin if you mention /386/bin/ip you are referring to the bound version of it (i.e. /local/bin, in the example bind I wrote before). hth --upas-rmeooitzhrnutrckuklrdndbow Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Fri Mar 28 18:22:26 MET 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 7B87119B7A; Fri, 28 Mar 2003 12:22:10 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from savan (unknown [195.173.15.12]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E270C19B70 for <9fans@cse.psu.edu>; Fri, 28 Mar 2003 12:21:10 -0500 (EST) Message-ID: <583603dcbf27fd4d4ac703fdee25383a@snellwilcox.com> From: steve.simon@snellwilcox.com To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] silly bind quetsion Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Fri, 28 Mar 2003 17:15:55 0000 Hi, I want to overload some of the commands in /bin, and some of the commands in /bin/ip. I have /usr/local/386/bin /usr/local/386/bin/ip If run bind -b /usr/local/386/bin /386/bin bind -b /usr/local/386/bin/ip /386/bin/ip Then the ip/ping always fails as my local ip directory is found before the standard one. Is there an elegant solution to this? Or do I have to do somthing like: /usr/local/386/bin /usr/local/386/bin-ip If run bind -b /usr/local/386/bin /386/bin bind -b /usr/local/386/bin-ip /386/bin/ip -Steve --upas-rmeooitzhrnutrckuklrdndbow--