update a running busybox
Harald Becker
ralda at gmx.de
Tue Mar 29 16:27:37 UTC 2011
Hallo Ralf!
> You can try
>
> ln /bin/busybox /bin/busybox.old
> mv busybox /bin/busybox
>
> Then remove /bin/busybox.old after the next reboot.
That is the best way to replace any running executable in place, but
doesn't solve the "Device busy" problem in all cases (that even arise
due to other actions, not only Busybox update). As those problems are a
mess on flash file systems, I focused on the reboot question ... but
otherwise you are right. You can even remove busybox.old right after the
move, it than gets deleted on shutdown automatically.
--
Harald
More information about the busybox
mailing list