From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 18:59:09 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 BC88710656D7 for ; Mon, 16 Feb 2009 18:59:09 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8A84B8FC22 for ; Mon, 16 Feb 2009 18:59:09 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.lan.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id D95D8AFC1FE; Mon, 16 Feb 2009 09:59:08 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 16 Feb 2009 09:59:08 -0900 User-Agent: KMail/1.9.10 References: <4994B999.1090307@networktest.com> <4994C74C.3060906@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200902160959.08771.fbsd.questions@rachie.is-a-geek.net> Cc: Jerry McAllister , Tim Judd , David Newman , "A. Wright" Subject: Re: recovering from a power outage 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: Mon, 16 Feb 2009 18:59:10 -0000 On Thursday 12 February 2009 16:24:25 A. Wright wrote: > Can anyone corroborate that? If so, does anyone know when > ed started wanting to make a temp file even before any edits > are made? I am sure that ed has gotten me out of similar jams > in the past, when I wanted to see part of a file in an unchecked > root fs, and cat wouldn't fit the bill because the file was > too long (and more and friends are far away on /usr, and therefore > not available if still patching up the root). =46rom ed(1): =46ILES /tmp/ed.* buffer file Solution: mdconfig -a -t swap -s 64m -o reserve -u 0 newfs -U /dev/md0 mount /dev/md0 /tmp chmod 1777 /tmp Also, there's /rescue/vi (since 7.0 I believe), which will complain=20 about /var/tmp/vi.recover, which you can a) ignore or b) use above procedur= e=20 with -u 1 to create /var/tmp. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part.