From owner-freebsd-questions@FreeBSD.ORG Wed May 13 08:25:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 017241065676 for ; Wed, 13 May 2009 08:25:59 +0000 (UTC) (envelope-from bma@joni.subvert.org.uk) Received: from jagger.subvert.org.uk (unknown [IPv6:2001:41c8:1:55a8::2]) by mx1.freebsd.org (Postfix) with ESMTP id 903198FC0A for ; Wed, 13 May 2009 08:25:58 +0000 (UTC) (envelope-from bma@joni.subvert.org.uk) Received: from joni.subvert.org.uk (bma-2-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:bfd::2]) by jagger.subvert.org.uk (Postfix) with ESMTP id 42BEF6624B; Wed, 13 May 2009 09:25:57 +0100 (BST) Received: by joni.subvert.org.uk (Postfix, from userid 1000) id 2977A26AFA; Wed, 13 May 2009 09:27:17 +0100 (BST) Date: Wed, 13 May 2009 09:27:16 +0100 From: "Benjamin M. A'Lee" To: manish jain Message-ID: <20090513082716.GB1363@joni.subvert.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-questions@freebsd.org Subject: Re: How to move vi to /bin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 08:25:59 -0000 --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--