From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 13:30:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7662416A4CE for ; Wed, 3 Nov 2004 13:30:36 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D345443D41 for ; Wed, 3 Nov 2004 13:30:35 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iA3DURap018356; Wed, 3 Nov 2004 14:30:27 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: David Gilbert From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 03 Nov 2004 08:19:25 EST." <4188DADD.4020907@daveg.ca> Date: Wed, 03 Nov 2004 14:30:27 +0100 Message-ID: <18355.1099488627@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@freebsd.org cc: David Gilbert Subject: Re: More running-with-scissors and fsck. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 13:30:36 -0000 In message <4188DADD.4020907@daveg.ca>, David Gilbert writes: >Poul-Henning Kamp wrote: > >>In message <41887A33.2060608@dclg.ca>, David Gilbert writes: >> >> >>>Well... the recoverdisk is a cool tool. I can see it coming in handy >>>many times. While there isn't much documentation, I've tended to use it >>>by creating a vnode md disk of exactly the right size to recover the >>>partition in question. >>> >>> >> >>You could just have used a regular file for it and connected it to a >>md later on. >> >> >It won't create the file by itself. I created the md disk because I >didn't take the time to read the code, I suppose. It would make people >"feel" better if it created the target file when it didn't exist. I would be really happy to see somebody improve on my little hack, there are many things that could be improved about it, and if they were, it would be a good addition to src/sbin -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.