How to move vi to /bin

Benjamin M. A'Lee bma-lists at
Wed May 13 08:25:59 UTC 2009

On Wed, May 13, 2009 at 12:51:46PM +0530, manish jain wrote:
> I want to move vi to /bin so that I have an editor available in
> single-user mode. This sounds simple (and should be if all you have is
> a single partition), but there are problems. For starters, terminfo
> can't locate its database in single-user mode.
> Could anyone please tell me how to go about this on a 7.x system ? I
> am also curious to know why FreeBSD doesn't place vi under /bin in the
> first place.

Why not mount /usr?

As I understand it, the usual criterion is that only things that are
necessary to get the other partitions mounted go in the root partition;
everything else goes under /usr.

I don’t know if this is the case with FreeBSD, but I don’t know of any

Benjamin M. A’Lee || mail: bma at
web: || gpg: 0x166891C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list