From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20020813055305.1931.qmail@g.bio.cse.psu.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] Ephase question. In-Reply-To: Message from "Russ Cox" of "Tue, 13 Aug 2002 01:42:24 EDT." <859eea04603e722a7dabc2bc0ef5bf73@plan9.bell-labs.com> From: Scott Schwartz Date: Tue, 13 Aug 2002 01:53:05 -0400 Topicbox-Message-UUID: db50c2b6-eaca-11e9-9e20-41e7f4b1d025 rsc writes: | i've seen it recently on either freebsd or linux, | in the case of trying to remove or perhaps overwrite It's overwrite. (Solaris, on the other hand, blows away the process.) So to safely (atomically) install a new executable or shared library, you have to write it to a temp file, and then rename it into place.