summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
AgeCommit message (Collapse)Author
1997-09-21$OpenBSD$Theo de Raadt
1997-07-14that was not a nice changeTheo de Raadt
1997-07-14change the output so that it fits into 80 columnsThomas Graichen
1997-06-25(foo *)0 -> NULLkstailey
1997-06-22Avoid an overflow when checking inode numbers; from FreeBSD PR #3528 byThorsten Lockert
Ian Dowse <iedowse@maths.tcd.ie>
1997-03-27use 700 not 777 for new lost+found dirskstailey
1997-02-20CFLAGS+=, from m4@umn.eduTheo de Raadt
1997-02-20From FreeBSD [Terry Lambert]:Thorsten Lockert
The following small diff fixes the annoying fsck bug that causes it to need to be run twice to end up with correct reference counts for inodes for directories that had subdirectories relocated into the lost+found directory. I found the need to rerun *extremely* annoying. This fix causes the count to be correctly adjusted later in pass 4 by correctly stating the parent reference count. Note that the parent reference count is incremented when the directory entry is made (for ".."), but is not really there in the case of a directory that does not make an entry in its parent dir. This can be tested by waiting for the inode sync after cd'ing from a shell into a test fs. Then you "mkdir xxx yyy zzz", wait a second, and hit the machine reset button.
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
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
1996-06-10add usage printoutTheo de Raadt
1996-05-28be more carefulTheo de Raadt
1996-05-22check for path in fstabTheo de Raadt
1996-05-04smm/03.fsck -> smm/03.fsck_ffsTheo de Raadt
1996-05-01(once again) allow /etc/fstab mountpoints to be used, ie "fsck /usr"Theo de Raadt
1996-01-29use fs_csaddr to find the cg summary area; from ↵Theo de Raadt
mouse@collatz.mccrim.mcgill.edu; netbsd pr#1366
1995-12-18use ufs_daddr_t; another time_t cleanupTheo de Raadt
1995-12-16handle time_t things that really are not time_tTheo de Raadt
1995-11-13time_t typecast; from bernd@arresum.inka.de; netbsd pr#1724Theo de Raadt
1995-11-06complete ufs -> ffs change (From John Kohl; PR #1403)Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt