[PATCH] vi should be in /usr/bin and not in /bin

Denys Vlasenko vda.linux at googlemail.com
Tue Sep 4 12:21:03 PDT 2007


Hi Natanael,

On Tuesday 04 September 2007 18:33, Natanael Copa wrote:
> While porting openbsd's sendbug I realized that busybox vi is in /bin
> and not in /usr/bin where I would expect an application like vi.

Aha, you met yet another idiotic script/program with /usr/bin prefixed to
every program it calls? See why I insist that it's a bug and
programs should never do it, but should search PATH for that instead?

> Attatched is a patch to fix this.
> 
> btw... since cttyhack is supposed to be called from inittab, i think
> that /sbin might be a better place than /usr/bin.

Let me think about it till tomorrow.
--
vda


More information about the busybox mailing list