From owner-freebsd-fs@FreeBSD.ORG Sun Feb 1 17:33:34 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BD3416A4CE for ; Sun, 1 Feb 2004 17:33:34 -0800 (PST) Received: from smtp2.mts.net (smtp2.mts.net [205.200.16.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 653A943D1D for ; Sun, 1 Feb 2004 17:33:33 -0800 (PST) (envelope-from gval@mts.net) Received: from [192.168.0.5] (wnpgmb01dc6-40-11.dynamic.mts.net [142.161.40.11])i121XWSV015547 for ; Sun, 1 Feb 2004 19:33:32 -0600 (CST) From: greg To: freebsd-fs@freebsd.org Content-Type: text/plain Message-Id: <1075685603.914.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 01 Feb 2004 19:33:23 -0600 Content-Transfer-Encoding: 7bit Subject: Structure of UFS2 filesystem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 01:33:34 -0000 I am looking for resources that describe the UFS2 filesystem structure. I want to write some code that will pull a UFS2 filesystem back from the dead. It has a bad Super Block, and no good Super Blocks can be found. However, I sifted through the raw data on the disk, and my data is still there. Could somebody point me to documentation on this subject. I have tried googling through the BSD filter. I received no useful results. I looked at the source code for ffs, but it is a bit hard to read without a basic understand of how the filesystem is structured. If the tools I write are any good, I will make the source code available under a BSD style licence. Thank You, -- greg