From owner-cvs-all Mon Jan 14 8:57:46 2002 Delivered-To: cvs-all@freebsd.org Received: from matrix.42.org (matrix.42.org [194.246.250.200]) by hub.freebsd.org (Postfix) with ESMTP id 6AE1B37B404; Mon, 14 Jan 2002 08:57:33 -0800 (PST) Received: (from sec@localhost) by matrix.42.org (8.8.8/8.8.5) id RAA15439 (sender ); Mon, 14 Jan 2002 17:57:22 +0100 (CET) Date: Mon, 14 Jan 2002 17:57:21 +0100 From: Stefan `Sec` Zehl To: "M. Warner Losh" Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/sysinstall label.c Message-ID: <20020114175721.A22162@matrix.42.org> References: <200201070751.g077pOs51981@freefall.freebsd.org> <20020107.011750.21514069.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20020107.011750.21514069.imp@village.org>; from imp@village.org on Mon, Jan 07, 2002 at 01:17:50AM -0700 I-love-doing-this: really X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle: Accept-Languages: de, en X-URL: http://sec.42.org/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jan 07, 2002 at 01:17:50AM -0700, M. Warner Losh wrote: > In message: <200201070751.g077pOs51981@freefall.freebsd.org> > Matt Dillon writes: > : Add 'R'ecover option that deletes a partition and attempts > : to recover its space into the previous partition. Revert 'D'elete > : to not attempt to recover any space. > > I had hoped when I read the first part of this that the 'R' command > would recover a corrupted disk lable from magic numbers at the start > of partitions... :-) I accidentally destroyed my disklabel a month ago, and wrote a small program to dig for the correct numbers. I have put it and a small description on a Website here: http://www.42.org/~sec/resources/disklabel.html CU, Sec -- For the other problem, the one involving fumbling fingers driven by fading grey cells, I recommend deep hypnosis and a cold shower. -- Wietse To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message