behavior of overwriting running executables?

Marty Leisner (
Wed, 15 May 1996 09:02:52 PDT

This is has always been an issue with linux kernels.

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.


Member of the League for Programming Freedom (
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001