[BusyBox] Upgrading busybox binary

Wolfgang Denk wd at denx.de
Tue Apr 23 00:51:03 UTC 2002


In message <8978CA866960D311B715009027937DA20166D0D2 at MAILSERV> you wrote:
> 
> How can I change busybox binary file itself on working system ? 
...
> When I trying to exchange old binary with new it tells me "file busy"
> and it's right - there are many utilities that are actually links to busybox
> running. I can kill most of them - unfortunately I can not kill the init...
> :(

Don't kill anything, just rename (and then remove) the old binary:

	mv busybox busybox.old
	mv busybox.new busybox
	rm busybox.old

> It should be some clever trick to perform this. Please help.

It's no clever trick, but just a variant of the old link game.

Hope it helps,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
To the systems programmer,  users  and  applications  serve  only  to
provide a test load.



More information about the busybox mailing list