[BusyBox] Live updating busybox?

Vladimir N. Oleynik dzo at simtreas.ru
Tue Nov 18 14:07:12 UTC 2003


Steven,

> I am using busybox in embedded systems and want to update it.
> 
> I understand the just overwriting the busybox binary could cause some 
> trouble.
> 
> One suggestion I got was to store the new version of busybox in let's 
> say /bin/busybox.new and then "mv /bin/busybox.new /bin/busybox" where 
> "mv" must not be the busybox applet but a standalone binary.

You can always use:
# /bin/busybox.old mv /bin/busybox.new /bin/busybox

(also, haved hack method: remove link to /bin/mv, make hard link to new busybox,
but this more hard).


--w
vodz




More information about the busybox mailing list