From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 21:48:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AE1116A4DC for ; Mon, 26 Jan 2004 21:47:59 -0800 (PST) Received: from smtp2.mts.net (smtp2.mts.net [205.200.16.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16E1744BB5 for ; Mon, 26 Jan 2004 21:12:31 -0800 (PST) (envelope-from gval@mts.net) Received: from [192.168.0.5] (wnpgmb01dc6-40-11.dynamic.mts.net [142.161.40.11])i0R5CT44028235 for ; Mon, 26 Jan 2004 23:12:30 -0600 (CST) From: greg To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1075180475.1032.8.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 26 Jan 2004 23:14:35 -0600 Content-Transfer-Encoding: 7bit Subject: UFS2 structure on disk. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:48:02 -0000 I am considering writting a tool to bring a filesystem with a bad super block back from the dead. I looked at the raw data on the disk where the filesystem is. I can see that my data is there. Now does such a tool exist already? Fsck failed. It can't the super block. I tried to force it to look at 32 (and many others). It does not recongnize them. If no such tool exists, I will write a tool to do so. I need to find information on how the UFS2 filesystem works. I have tried google with the BSD filter, I could not find anything useful. I have looked at the source code for UFS2, but it is hard to understand without already having an insight into how the filesystem works. Could someone point me in the right direction? Are there any resources out there explaining the UFS2 in a detailed and technical way? Thank You, -- greg