Subject: SuperBlock hosed....
To: NetBSD Mailing List <port-mac68k@NetBSD.ORG>
From: The Great Mr. Kurtz [David A. Gatwood] <davagatw@mars.utm.edu>
List: port-mac68k
Date: 07/18/1996 12:50:16
Is there any way to recover data from a unix fs that's hosed beyond fsck
(all the superblocks report magic number wrong.  Is there a way to fake
the superblock and magic number?

Reading this sysadmin manual, it looks like the sb is pretty much fixed
after the drive is mkfs'ed, except for stuff like summary data that fsck
can fix.  Does that sound accurate?

The obvious choice would be to read it block by block, grepping the output
for something in the file to be recovered....  If anybody has suggestions
for a program to deal with that, please send email.

TIA,

 /---------------------------------------------------------------------\
|David A. Gatwood             And Richard Cory, one calm summer night,  |
|davagatw@mars              Went home and put a bullet through his head.|
|dgatwood@nyx.cs.du.edu              --Edwin Arlington Robinson         |
|http://mars.utm.edu/~davagatw -or- http://nox.cs.du.edu:8001/~dgatwood |
 \---------------------------------------------------------------------/