busybox to the rescue

Drew Van Zandt drew.vanzandt at gmail.com
Tue Nov 15 16:50:01 EST 2005


For any of you who occasionally manage to accidentally do something
stupid to one of your systems (as I did today) I highly recommend
keeping a statically linked copy of busybox (combined core system
tools, e.g. ls, cp, mv) tucked away somewhere on your root filesystem.
 :-)  I was able to recover from having a badly-debugged script (not
mine) blow away all my shared library links because I managed to get a
copy of busybox onto the machine in question using a web file upload
script that was still working.

busybox and static linking is hard to break.  :-)  (Actually my
busybox binary is named ln, so I can handle the rest with only that
one file.)

-- Drew Van Zandt



More information about the gnhlug-discuss mailing list