summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/fsck.h
AgeCommit message (Collapse)Author
1996-10-20Sync with NetBSD 961019Thorsten Lockert
1996-10-12From Kirk McKusick:Thorsten Lockert
If a directory somehow develops a hole (that is a block pointer that has a value of zero), fsck would give the filesystem a clean bill of health, but the kernel would panic when accessing the directory with the hole. Fsck now checks for holes in directories. If found in preen mode, fsck fails. In manual mode, it can be directed to shorten the directory to the beginning of the hole. A more complete solution would be to allocate a block to fill the hole. However, this is a lot more work for a `cannot happen' error, so the extra effort seems unwarranted.
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt