From owner-freebsd-geom@FreeBSD.ORG Thu Nov 14 13:20:02 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78D9FA06 for ; Thu, 14 Nov 2013 13:20:02 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 526F12A45 for ; Thu, 14 Nov 2013 13:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=qmbeN/rFoU57xnFOLcSREYwoUCDxXhYjQhLySx5jJsE=; b=UgW/vJ1uWKqB9PSCtTnXz3E3p/6tYcLvIFdc9SUBXkfQKMW+M0zFu9bGvUzN+G62Kh46ik1fLtK1vcV7QoKL9I7pdmekqbzTxfS9snwn1sOXAH2FCIGcqi9Zf2NI1Yue6AFTLSFbCWiKV1duUZvKn0bODjbsELAy3pLzsX3vZWc=; Received: from [182.8.41.140] (port=39858 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1Vgwpu-0017cx-CB; Thu, 14 Nov 2013 06:19:55 -0700 Date: Thu, 14 Nov 2013 21:19:44 +0800 From: Erich Dollansky To: symbolics@gmx.com Subject: Re: documentation of GEOM data structures needed Message-ID: <20131114211944.627cb247@X220.ovitrap.com> In-Reply-To: <20131113093207.GA60246@lemon> References: <20131111162400.0bc7dfef@X220.ovitrap.com> <20131111091836.GA83261@lemon> <20131111183216.5ec80e9e@X220.ovitrap.com> <20131111151141.GA1381@lemon> <20131111235032.6a6f26f7@X220.ovitrap.com> <20131111164805.GB1381@lemon> <20131112111658.4cb1ef95@X220.ovitrap.com> <20131112094050.GA1808@lemon> <20131113125536.01a43e4b@X220.ovitrap.com> <20131113093207.GA60246@lemon> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 13:20:02 -0000 Hi, On Wed, 13 Nov 2013 09:32:07 +0000 symbolics@gmx.com wrote: > On Wed, Nov 13, 2013 at 12:55:36PM +0800, Erich Dollansky wrote: > [...] > > I noticed that in FreeBSD data structures are hardly documented. > > When I was still programming, the first step during development was > > the documentation of the data structures. I kept this documentation > > in the header files. > > > I agree, I would like more comprehensive documentation too. > I got meanwhile all data back. The MBR was overwritten with some other boot loader. I set the pointer in the MBR to the BSD label and was able to mount the disk. Irony is now that I still got the integrity check failed error message but all partitions have been mountable and the file system could be read. I did not run an fsck on the file systems. As the files in question all have been plain ASCII files, it was very easy to check if they got damaged. Your hint where to find the documentation of the BSD label was the key. Thanks! Erich