[lkml]   [1996]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: behavior of overwriting running executables?
    > On Wed, 15 May 1996, Marty Leisner wrote:
    > > If I write to a running program, I get "text file busy".
    > >
    > > 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.
    > SGI's Irix allows the program to be overwritten, but causes the running
    > program to core-dump !


    with linux, I noticed that you always can do
    "rm <orig.program>; cp <your.program> <orig.progam>"
    and never see any crashes.


     \ /
      Last update: 2005-03-22 13:37    [W:0.016 / U:4.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site