Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2009 09:27:16 +0100
From:      "Benjamin M. A'Lee" <bma-lists@subvert.org.uk>
To:        manish jain <invalid.pointer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to move vi to /bin
Message-ID:  <20090513082716.GB1363@joni.subvert.org.uk>
In-Reply-To: <cb0fa7b70905130021t390bb560r4a1dd64ab3b2e79@mail.gmail.com>
References:  <cb0fa7b70905130021t390bb560r4a1dd64ab3b2e79@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--nVMJ2NtxeReIH9PS
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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=E2=80=99t know if this is the case with FreeBSD, but I don=E2=80=99t =
know of any
other.

--=20
Benjamin M. A=E2=80=99Lee || mail: bma@subvert.org.uk
web: http://bma.subvert.org.uk/ || gpg: 0x166891C7

--nVMJ2NtxeReIH9PS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iQIcBAEBCAAGBQJKCoRjAAoJEKuuEToWaJHHeKQQAMKA8Z8O+LrldopCRA9t9HAq
A86r/brmoJClzm9XIefQYPxGpoDxPYiRHoMaEg4sLybu3zHBgB+6Bvz2mmY4JHSZ
xnah7na+Iuhx91/YLHTxmc7pjP0wAaw+PiqCd8L1/ysWe8L0r7W+Tj6NBTCPYFGG
Ev6+CflfXDj526oLUc4hrNvmc2XtKlEyoXsYnAjUMUztratLTUe/hi0zjjx+J6pc
cJNL5wo6tMmgvcK4QCTi3DQUm0pYbV1JfzfUUY4iKhEkHxDodjwmFIimxA9v5f7Z
55S4xQ282sGr03hhA0Ews+vGC8ZY3bGCLCxTqMMFdtGEVW4r7Wg3OrVP8MhSaPv6
A01iTE1GELedhz/Hkv3nriM/c1q1kiO2+HuNBADoT++ufY+17P5b2ZsdxFmBIDyD
A+dTSpEVtT4NMQLFg+auzGungDyoWD4u4rEpXHUnYCQXYGTkAbiepo1Qv/xM1vIi
nD+MhdUaL9GwyGmTtelR/7Ex25NY7DOHVl7cN/+NdBBtFgPJoP89r5QrWAMbMfZU
HujWpRKIkiMbQTidIjkHH7lf2TU/TVyt4h3grlWKWimMEV06VWKvCFw1y8Cg2rWP
5aQIcxuxKaXo/3HRMK5JdJk5iNbq+xjhekjzEjDmlyFViR27KiV98ez8R1qWm/FK
AOzHq4PiHd1ywTSiMjIi
=0d4L
-----END PGP SIGNATURE-----

--nVMJ2NtxeReIH9PS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090513082716.GB1363>