* [9fans] silly bind quetsion
@ 2003-03-28 17:15 steve.simon
2003-03-28 17:25 ` Fco.J.Ballesteros
2003-03-28 17:26 ` [9fans] silly bind quetsion Russ Cox
0 siblings, 2 replies; 5+ messages in thread
From: steve.simon @ 2003-03-28 17:15 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] silly bind quetsion
2003-03-28 17:15 [9fans] silly bind quetsion steve.simon
@ 2003-03-28 17:25 ` Fco.J.Ballesteros
2003-05-03 22:13 ` [9fans] Tcl Now Available for Plan 9 will551
2003-03-28 17:26 ` [9fans] silly bind quetsion Russ Cox
1 sibling, 1 reply; 5+ messages in thread
From: Fco.J.Ballesteros @ 2003-03-28 17:25 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
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
[-- Attachment #2: Type: message/rfc822, Size: 1631 bytes --]
From: steve.simon@snellwilcox.com
To: 9fans@cse.psu.edu
Subject: [9fans] silly bind quetsion
Date: Fri, 28 Mar 2003 17:15:55 0000
Message-ID: <583603dcbf27fd4d4ac703fdee25383a@snellwilcox.com>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] silly bind quetsion
2003-03-28 17:15 [9fans] silly bind quetsion steve.simon
2003-03-28 17:25 ` Fco.J.Ballesteros
@ 2003-03-28 17:26 ` Russ Cox
2003-03-28 17:42 ` Russ Cox
1 sibling, 1 reply; 5+ messages in thread
From: Russ Cox @ 2003-03-28 17:26 UTC (permalink / raw)
To: 9fans
you could do
bind -a /386/bin/ip /usr/local/386/bin/ip
bind -b /usr/local/386/bin /386/bin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] silly bind quetsion
2003-03-28 17:26 ` [9fans] silly bind quetsion Russ Cox
@ 2003-03-28 17:42 ` Russ Cox
0 siblings, 0 replies; 5+ messages in thread
From: Russ Cox @ 2003-03-28 17:42 UTC (permalink / raw)
To: 9fans
i knew there was a reason this seemed weird.
i think the more common way to do this would be
bind -b /usr/local/386/bin /bin
bind -a /386/bin/ip /bin/ip
so that /bin is the only directory that ends
up being a union. the source mkfiles assume
that /386/bin is not a union (install goes into
/$objtype/bin, which doesn't really make sense
when you've got a union).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] Tcl Now Available for Plan 9
2003-03-28 17:25 ` Fco.J.Ballesteros
@ 2003-05-03 22:13 ` will551
0 siblings, 0 replies; 5+ messages in thread
From: will551 @ 2003-05-03 22:13 UTC (permalink / raw)
To: 9fans
hi
Tcl 8.3.5 for Plan 9 is now at:
http://geocities.com/will5514
enjoy
will551
--
------------------------------------------------------------
(,_ ,_, _,)
/]\`-._( )_.-'/]\ Email: will551@iol.ie
/ ] \`-'/ \'-`/ ] \
/___].-'`-\_/-`'-.]__\
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-05-03 22:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-28 17:15 [9fans] silly bind quetsion steve.simon
2003-03-28 17:25 ` Fco.J.Ballesteros
2003-05-03 22:13 ` [9fans] Tcl Now Available for Plan 9 will551
2003-03-28 17:26 ` [9fans] silly bind quetsion Russ Cox
2003-03-28 17:42 ` Russ Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).