Re: behavior of overwriting running executables?

Marty Leisner (leisner@sdsp.mc.xerox.com)
Wed, 15 May 1996 11:53:01 PDT


> > I think sunos seamlessly moves the executable to an unnamed inode, leaving a reference to
> > it while its running, then transparently does an unlink when its done.
> >

I'm wrong...

> > Opinions/comments?
>
>
> while its running, then transparently does an unlink when its done.
>
> ... but you cannot write to the program file before you do the remove/unlink.
>
> I think ld should do an unlink before it trys to write to the output file.
>
>
Good idea...should be easy to produce a patch to ld...

-- 
marty
leisner@sdsp.mc.xerox.com  
Member of the League for Programming Freedom