Re: Anybody out there? (ETXTBSY)

Petri Kaukasoina (kaukasoi@elektroni.ee.tut.fi)
Fri, 28 Aug 1998 13:53:14 +0300


On Fri, Aug 28, 1998 at 02:57:59AM +0000, H. Peter Anvin wrote:
> Upgrading /bin/sh is perfectly doable, as is upgrading libc.so. You
> have to unlink() the binary and then rename() the new one to the
> proper name, of course without needing to run a new binary in between.

why unlink() ? rename() should be enough and then there's no time when
/bin/sh or libc is missing.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html