lkml.org 
[lkml]   [1996]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: behavior of overwriting running executables?
Date
From

> > 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




\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2011 Jasper Spaans