From owner-freebsd-questions@FreeBSD.ORG Fri May 15 18:38:54 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 1E373106564A for ; Fri, 15 May 2009 18:38:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id CBFF08FC21 for ; Fri, 15 May 2009 18:38:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M52J0-0005z7-W9 for freebsd-questions@freebsd.org; Fri, 15 May 2009 18:38:51 +0000 Received: from pool-72-75-62-115.washdc.east.verizon.net ([72.75.62.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 May 2009 18:38:50 +0000 Received: from nightrecon by pool-72-75-62-115.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 May 2009 18:38:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 15 May 2009 14:40:09 -0400 Lines: 27 Message-ID: References: <200905142019.56242.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A0D0FD6.4040107@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-62-115.washdc.east.verizon.net User-Agent: KNode/0.99.01 Sender: news Subject: Re: How to move vi to /bin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 18:38:54 -0000 Manish Jain wrote: > Mel Flynn wrote: >> On Wednesday 13 May 2009 09:21:46 manish jain wrote: >> >>> I want to move vi to /bin so that I have an editor available in >>> single-user mode. [snip] > > From all the discussion I have walked through on the issue of where to > place vi, it does appear FreeBSD has a skewed policy on the issue. There > are plenty of reasons you might need access an editor in single-user > mode - editing fstab is just one. Having to use the workarounds > suggested in place of vi is not so good, and manually moving vi to /bin > is not simply a matter of 'mv /usr/bin/vi /bin/'. > > One of the things I would dearly like to see in a future release is vi > being placed under /bin. > Why not just simply type /rescue/vi at the prompt? It'll function in single user mode and allow for things like editing fstab, etc. So simple, why complicate matters... -Mike