* [9fans] items in /bin with leading underscores
@ 2004-11-06 17:15 Heiko Dudzus
2004-11-06 19:14 ` Christian Grothaus
2004-11-06 19:20 ` Skip Tavakkolian
0 siblings, 2 replies; 7+ messages in thread
From: Heiko Dudzus @ 2004-11-06 17:15 UTC (permalink / raw)
To: 9fans
In /bin there exist two similar entries of executables: One with and
one without a leading underscore, e.g. /bin/touch and /bin/_touch.
They seem to have different sizes.
What is about it? How do they differ?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] items in /bin with leading underscores
2004-11-06 17:15 [9fans] items in /bin with leading underscores Heiko Dudzus
@ 2004-11-06 19:14 ` Christian Grothaus
2004-11-06 19:20 ` Skip Tavakkolian
1 sibling, 0 replies; 7+ messages in thread
From: Christian Grothaus @ 2004-11-06 19:14 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> In /bin there exist two similar entries of executables: One with and
> one without a leading underscore, e.g. /bin/touch and /bin/_touch.
>
> They seem to have different sizes.
>
> What is about it? How do they differ?
The ones with the leading underscores are created when you
replica/pull from the sources: when there's a new version of /bin/x,
replica/pull first executes 'mv /bin/x /bin/_x' so that you can switch
back to the old version in case there are problems with the new one.
Christian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] items in /bin with leading underscores
2004-11-06 17:15 [9fans] items in /bin with leading underscores Heiko Dudzus
2004-11-06 19:14 ` Christian Grothaus
@ 2004-11-06 19:20 ` Skip Tavakkolian
2004-11-06 19:30 ` Heiko Dudzus
1 sibling, 1 reply; 7+ messages in thread
From: Skip Tavakkolian @ 2004-11-06 19:20 UTC (permalink / raw)
To: 9fans
> What is about it? How do they differ?
replica/pull moves the old versions out of the way by changing
their names (they could be running), before copying new ones over.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] items in /bin with leading underscores
2004-11-06 19:20 ` Skip Tavakkolian
@ 2004-11-06 19:30 ` Heiko Dudzus
2004-11-08 13:12 ` C H Forsyth
0 siblings, 1 reply; 7+ messages in thread
From: Heiko Dudzus @ 2004-11-06 19:30 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Skip Tavakkolian wrote:
> replica/pull moves the old versions out of the way by changing
> their names (they could be running), before copying new ones over.
Ahh. Thanks to both of you.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] items in /bin with leading underscores
2004-11-06 19:30 ` Heiko Dudzus
@ 2004-11-08 13:12 ` C H Forsyth
2004-11-09 14:00 ` Heiko Dudzus
0 siblings, 1 reply; 7+ messages in thread
From: C H Forsyth @ 2004-11-08 13:12 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
it only does it once, and the next run will discard the
file saved by the first run, so if you've got long-running systems
(and since you're running plan 9, they often are long-running systems
once they are running), you still need to worry about it.
it's a good question whether the file servers should.
[-- Attachment #2: Type: message/rfc822, Size: 2818 bytes --]
From: Heiko Dudzus <heiko.dudzus@gmx.de>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] items in /bin with leading underscores
Date: Sat, 6 Nov 2004 20:30:29 +0100
Message-ID: <20041106193029.GA2984@SDF.LONESTAR.ORG>
Skip Tavakkolian wrote:
> replica/pull moves the old versions out of the way by changing
> their names (they could be running), before copying new ones over.
Ahh. Thanks to both of you.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] items in /bin with leading underscores
2004-11-08 13:12 ` C H Forsyth
@ 2004-11-09 14:00 ` Heiko Dudzus
2004-11-09 14:11 ` C H Forsyth
0 siblings, 1 reply; 7+ messages in thread
From: Heiko Dudzus @ 2004-11-09 14:00 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
C H Forsyth wrote:
> Skip Tavakkolian wrote:
> > replica/pull moves the old versions out of the way by changing
> > their names (they could be running), before copying new ones over.
>
> it only does it once, and the next run will discard the
> file saved by the first run, so if you've got long-running systems
> (and since you're running plan 9, they often are long-running systems
> once they are running), you still need to worry about it.
> it's a good question whether the file servers should.
Isn't a complete image of the running binaries in the memory (of the
machine where it runs on). I ever thought a running program was
independent of its file.
(I'm not sure if I really should take part of this discussion, because it goes
beyond my knowledge and understanding ;-/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] items in /bin with leading underscores
2004-11-09 14:00 ` Heiko Dudzus
@ 2004-11-09 14:11 ` C H Forsyth
0 siblings, 0 replies; 7+ messages in thread
From: C H Forsyth @ 2004-11-09 14:11 UTC (permalink / raw)
To: 9fans
>>I ever thought a running program was independent of its file.
not in general, because the kernel reads on demand from the file when a page
is required and not already in the image cache.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-11-09 14:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06 17:15 [9fans] items in /bin with leading underscores Heiko Dudzus
2004-11-06 19:14 ` Christian Grothaus
2004-11-06 19:20 ` Skip Tavakkolian
2004-11-06 19:30 ` Heiko Dudzus
2004-11-08 13:12 ` C H Forsyth
2004-11-09 14:00 ` Heiko Dudzus
2004-11-09 14:11 ` C H Forsyth
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).