Mail Archives: opendos/1997/04/24/20:00:19
On Thu, 24 Apr 1997, Mark Habersack wrote:
> > Things like file system checking and defragmentation are things better
> > done while the file system is either unmounted or mounted read-only.
> Exactly - in such a situation the system is in a known state and thus a
> possibility to damage anything vital is almost eliminated. But the idea with
> error detection by the file system code is excellent!
Yes, something like a simple 16 or 32 bit CRC on each inode... Without
actually doing any surface checking or "sanity" tests (wrong allocations
or whatever can go wrong with inode-based fs), you can produce those and
check them quite quickly... Which would give a warning about the data
being corrupted and to check the media before any "real" trouble comes
up... :-)
Pierre Phaneuf
- Raw text -