From owner-freebsd-hackers Wed Jun 30 7:34:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id E02DC14D0E for ; Wed, 30 Jun 1999 07:34:28 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.2/8.8.8) id PAA41139; Wed, 30 Jun 1999 15:29:16 +0100 (BST) (envelope-from joe) Date: Wed, 30 Jun 1999 15:29:16 +0100 From: Josef Karthauser To: Niall Smart Cc: hackers@FreeBSD.ORG Subject: Re: [DISKLABEL FRAGGED] Clues requested... ;) Message-ID: <19990630152916.I53349@pavilion.net> References: <19990621083803.M95198@pavilion.net> <376E42BD.117B32DA@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <376E42BD.117B32DA@pobox.com>; from Niall Smart on Mon, Jun 21, 1999 at 01:48:45PM +0000 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 21, 1999 at 01:48:45PM +0000, Niall Smart wrote: > Josef Karthauser wrote: > > > > Guess what... I've got a disk where the partition table and the disklabel has > > mysteriously disappeared! Oops. > > > > I've reconstructed the partition table, and now need to partition the disklabel. > > Wow, you're probably the first person ever to do that, unlucky you. Out > of sympathy I've written you this findsb program which of course I've > never had to use myself. Its not the most efficiently written program > ever > and since FreeBSD swap partitions don't have magic numbers it may be > slow, > but it seems to work, however I draw your attention to the disclaimer > in the C file. ;) > BTW with a little tweaking this worked fine. Thanks very much. Joe -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message