From owner-freebsd-fs Wed Aug 11 9:16:31 1999 Delivered-To: freebsd-fs@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id AB48A14EE4; Wed, 11 Aug 1999 09:16:23 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id RAA13400; Wed, 11 Aug 1999 17:15:14 +0100 (BST) (envelope-from joe) Date: Wed, 11 Aug 1999 17:15:14 +0100 From: Josef Karthauser To: Dag-Erling Smorgrav Cc: hackers@FreeBSD.ORG, fs@FreeBSD.ORG Subject: Re: Disk label recovery - request for suggestions. Message-ID: <19990811171514.X88035@pavilion.net> References: <19990808185112.A99557@pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Dag-Erling Smorgrav on Wed, Aug 11, 1999 at 03:38:05PM +0200 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-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Aug 11, 1999 at 03:38:05PM +0200, Dag-Erling Smorgrav wrote: > Josef Karthauser writes: > > If so, what extra work is required to make it work with non UFS file > > systems - is 'disklabel' used on non UFS fs's? > > Disklabel doesn't work at the fs level, it works at the slice level - > dividing slices into partitions, in which you can create file systems. Ahha - of course. Ok, let me re-phrase the question then. By looking at the contents of the superblocks on a UFS file system it's possible to reconstruct a disklabel for a slice. Is this trick possible with other kinds of file systems too? (Does it even make sense to ask that question?). Should this recovery functionality be part of an already existing tool, like disklabel, or should it be a completely new tool? Opinions? Would it be possible to tag swap partitions with an equivalent of a superblock to make their recognition easier under failure conditions? 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-fs" in the body of the message