[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Live updating busybox?
From:       "Vladimir N. Oleynik" <dzo () simtreas ! ru>
Date:       2003-11-18 14:07:12
[Download RAW message or body]

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

_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic