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

Bernhard Fischer rep.dot.nop at gmail.com
Tue Sep 4 21:27:33 UTC 2007


On Tue, Sep 04, 2007 at 04:14:57PM -0400, Paul Fox wrote:
> > 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.
>
>/usr/bin might have been correct at one time, when it was common
>to have "ed" in /bin.  but it's currently the case that vi is
>often the only editor on the system, and/or the only editor the
>user will know how to use.  so linux puts it in /bin now.  (i
>just checked recent fedora, debian, and ubuntu systems.)

$ cat /etc/debian_version 
lenny/sid
$ ls -ln /bin/vi* /usr/bin/vi
ls: /bin/vi*: No such file or directory
lrwxrwxrwx 1 0 0 20 2007-03-30 08:03 /usr/bin/vi -> /etc/alternatives/vi



More information about the busybox mailing list