From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 26 16:06:25 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5A4C16A420; Wed, 26 Sep 2007 16:06:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A828B13C457; Wed, 26 Sep 2007 16:06:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 1E9EF1A4D94; Wed, 26 Sep 2007 08:48:16 -0700 (PDT) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Wed, 26 Sep 2007 10:28:42 -0400 User-Agent: KMail/1.9.7 References: <20070901073440.GL85633@comp.chem.msu.su> <46DAFE5C.6070806@freebsd.org> <20070903120353.GH30502@comp.chem.msu.su> In-Reply-To: <20070903120353.GH30502@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709261028.43378.jhb@freebsd.org> Cc: Yar Tikhiy , Tim Kientzle Subject: Re: Useful tools missing from /rescue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 16:06:25 -0000 On Monday 03 September 2007 08:03:53 am Yar Tikhiy wrote: > On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote: > > Yar Tikhiy wrote: > > >Hi all, > > > > > >I've had to use /rescue recently and felt lack of a few basic tools > > >in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter, > > >e.g., sed(1). Well, in fact most functionality of pgrep(1), head(1), > > >tail(1), and even tee(1) can be emulated if one has sed(1), but the > > >tools are so tiny and convenient that it's a pity not to have them > > >all handy during hard times. > > > > > >In addition, there are chflags and chmod in /rescue, but there's > > >no chown in it, so the toolset is a bit incomplete. > > > > Oh, my. chown was definitely an oversight. That > > should have been in there. > > > > My opinions: > > * head, tail, and tee are no-brainers; just do it. > > * sed would be a nice addition. (I atttempted to > > fit 'vi' in there, but curses is rather finicky; > > 'sed' would be more useful.) > > Thank you for supporting my idea! I would go for all of these as well as 'chown'. Are you still planning on doing this? -- John Baldwin