Question about symlinking to busybox
ralda at gmx.de
Thu Sep 16 16:13:26 UTC 2010
> Why not just use hardlinks then? You can replace your binary
by...replacing your binary.
A bit of a trouble, if the binary is busy! You need to quit busybox
completely before you can replace an open binary file. If you use
symlinks it is easy to replace and maintain different versions of
busybox binaries. You can then just do a rename swap or you do remove
the old file (still open) and install the new binary in place. That's it.
Using hardlinked symlinks is the solution to this problem. And it is
nothing special ... only not very wide spread known/used.
More information about the busybox