unix undelete ????? (bsd ffs inode zeroing q.)

Rayan Zachariassen rayan at cs.toronto.edu
Mon Apr 29 04:13:47 AEST 1991


Since this is supposed to be unix-wizards how about this modified Q:

In the BSD FFS (at least), whenever an inode is deallocated it is very
thoroughly zero'ed out and then written to disk.  In particular, the
block pointers and size field all get nuked.  I think this was intended
to help fsck with its job, but I can't see why it is *necessary* to use
this particular destructive technique instead of some other flag.  If the
information was kept, an inode-based undelete would be practical.  I'm
upset 'cuz this field-nulling business cost a friend and I a couple of
days once in retrieving a file.  Mutter.  Chris?...

rayan



More information about the Comp.unix.wizards mailing list