[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Loop in vi



On Thu, 15 Apr 1999, Pavel Roskin wrote:

> Hello!
> 
> /bin/vi from ae_962-21.1.deb executes /usr/bin/vi if it exists. No checks
> are made whether /bin/vi and /usr/bin/vi are the same file. However, this
> is quite possible on GNU Hurd, when /usr is linked to /

Linking /usr to / is a broken idea. The FHS/FSSTD makes it clear that /bin
and /usr/bin are to be different locations and contain different binaries.

In addition, /bin/vi is a script, installed in the root.bin of the rescue
floppy so that the vi command will provide an editor during base
installation. As soon as one of the "real" vi's gets installed (on a
system with /usr linked to /) the script will be overwritten by the new
symlink for update-alternatives that the various vi use.

OK?

Dwarf
--
_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (850) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


Reply to: