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

Paul Fox pgf at brightstareng.com
Tue Sep 4 15:03:23 PDT 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


you're absolutely right.  i clearly must have read the output
wrong, because i did check.  sigh.  :-/

it's in /bin on fedora core 5.

it's in /usr/bin on debian sarge, ubuntu 6 and ubuntu 7.

sorry for the noise.  (but i still think it should be in /bin these days.)

paul
=---------------------
 paul fox, pgf at brightstareng.com


More information about the busybox mailing list