From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Viro To: 9fans@cse.psu.edu Subject: Re: [9fans] Ephase question. In-Reply-To: <859eea04603e722a7dabc2bc0ef5bf73@plan9.bell-labs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue, 13 Aug 2002 02:13:08 -0400 Topicbox-Message-UUID: db58fdc8-eaca-11e9-9e20-41e7f4b1d025 On Tue, 13 Aug 2002, Russ Cox wrote: > > > - Unix' solution of making the remove fail with "file busy"; it was > > > always inconvenient and confusing. They use that one for in use > > > executables. > > > > I haven't seen a version of unix do this one for a while (as in decades). > > The remove succeeds, the file goes away when the last reference does (but > > you have to have inodes ...). But maybe there is some version of Unix > > you're referencing I'm not familiar with -- there's a lot of possibilities > > out there nowadays ... > > i've seen it recently on either freebsd or linux, > in the case of trying to remove or perhaps overwrite > binaries that were being executed at the time. > it was definitely a binary rather than a normal file. Overwrite - sure. Remove - nope.