keep close to original BusyBox source