Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-04-23 | Various man page fixes and improvements from gluk@ | Aaron Campbell | |
2001-04-19 | Cleanup dirpref and synhronize superblock with freebsd. | Grigoriy Orlov | |
From FreeBSD with little changes. art@ ok. | |||
2001-04-13 | Fix overflow in superblock. From FreeBSD. | Grigoriy Orlov | |
FreeBSD's log: > The ffs superblock includes a 128-byte region for use by temporary > in-core pointers to summary information. An array in this region > (fs_csp) could overflow on filesystems with a very large number of > cylinder groups (~16000 on i386 with 8k blocks). When this happens, > other fields in the superblock get corrupted, and fsck refuses to > check the filesystem. > > Solve this problem by replacing the fs_csp array in 'struct fs' > with a single pointer, and add padding to keep the length of the > 128-byte region fixed. Update the kernel and userland utilities > to use just this single pointer. > > With this change, the kernel no longer makes use of the superblock > fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c > to indicate that these fields must be calculated for compatibility > with older kernels. art@ ok. | |||
2001-04-06 | Replace FFS directory preference algorithm(dirpref) by new one. | Grigoriy Orlov | |
It allocates directory inode in the same cylinder group as a parent directory in. This speedup file/directory intensive operations on a big file systems in times. Don't forget to recompile fsck_ffs with updated fs.h or you will get "VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE" at the next boot. In any case you can ignore this error safely. Requested by deraadt@ | |||
2001-03-09 | missing \n for MARKED FREE messages, some spaces | Michael Shalayeff | |
2001-03-02 | Simpler algorithm or calculating inomapsize | Constantine Sapuntzakis | |
2001-03-02 | When doing last second fixes before a commit, it's a good idea | Artur Grabowski | |
to check if it builds. | |||
2001-03-02 | Make fsck aware of soft updates. | Artur Grabowski | |
We had this in the tree 1997, but it went away because it was too close to release. Ok: csapuntz@ (as a size note: It's really good to test fsck when you are torture testing the filesystems) | |||
2001-01-19 | mark signal races i cannot fix at the moment | Theo de Raadt | |
2001-01-15 | save_errno in signal handler | Theo de Raadt | |
2000-12-29 | Don't mark filesystem clean if fsck needs to be rerun (PR 1572) | Angelos D. Keromytis | |
2000-09-30 | Some format string problems that were missed during initial audit; deraadt@ and | Aaron Campbell | |
millert@ ok | |||
2000-03-28 | mkfs(8) died a long time ago | Theo de Raadt | |
2000-03-18 | Remove hard sentence breaks, and some other cleanup along the way. | Aaron Campbell | |
2000-01-22 | remove extra externs not needed because of unistd.h (rest of tree will be ↵ | Theo de Raadt | |
done later.. contact me if you want to help) | |||
1999-08-17 | More <sys/file.h> vs. <fcntl.h> and open() flags fixes. | Todd C. Miller | |
1999-08-06 | uid_t and gid_t, and use %u | Theo de Raadt | |
1999-07-21 | use .Ar on later .It Fl lines | Theo de Raadt | |
1999-06-04 | start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@ | Aaron Campbell | |
1999-05-23 | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | Aaron Campbell | |
is used instead; kwesterback@home.com | |||
1999-03-01 | SIGINFO support | David Leonard | |
1998-12-15 | always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.net | Aaron Campbell | |
1998-11-28 | kill redundant .Nm macro arguments; other misc fixes | Aaron Campbell | |
1998-11-11 | more `` '' -> .Dq sillyness; remove redundant .Pp macros; other misc fixes | Aaron Campbell | |
1998-09-23 | alphabetize SEE ALSO entries and order them numerically according to section | Aaron Campbell | |
1998-09-17 | sbin/ man page fixes | Aaron Campbell | |
1998-02-05 | Ha! Caught Todd making a mistake! | Theo de Raadt | |
1998-02-05 | Add usage line | Todd C. Miller | |
1997-11-09 | Don't include <ufs/ffs/ffs_extern.h>. fsck_ffs now compiles. | Todd C. Miller | |
1997-10-11 | Never involve negative numbers in unsigned expressions. Fixes a segfault some | Niklas Hallqvist | |
bad fs images triggers. | |||
1997-10-06 | back out vfs lite2 till after 2.2 | Theo de Raadt | |
1997-10-06 | VFS Lite2 Changes | Constantine Sapuntzakis | |
1997-09-21 | $OpenBSD$ | Theo de Raadt | |
1997-07-14 | that was not a nice change | Theo de Raadt | |
1997-07-14 | change the output so that it fits into 80 columns | Thomas Graichen | |
1997-06-25 | (foo *)0 -> NULL | kstailey | |
1997-06-22 | Avoid an overflow when checking inode numbers; from FreeBSD PR #3528 by | Thorsten Lockert | |
Ian Dowse <iedowse@maths.tcd.ie> | |||
1997-03-27 | use 700 not 777 for new lost+found dirs | kstailey | |
1997-02-20 | CFLAGS+=, from m4@umn.edu | Theo de Raadt | |
1997-02-20 | From 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-15 | getopt(3) returns -1 when out of args, not EOF, whee! | Todd C. Miller | |
1996-10-20 | Sync with NetBSD 961019 | Thorsten Lockert | |
1996-10-12 | From 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-23 | update rcsid | Theo de Raadt | |
1996-06-10 | add usage printout | Theo de Raadt | |
1996-05-28 | be more careful | Theo de Raadt | |
1996-05-22 | check for path in fstab | Theo de Raadt | |
1996-05-04 | smm/03.fsck -> smm/03.fsck_ffs | Theo de Raadt | |
1996-05-01 | (once again) allow /etc/fstab mountpoints to be used, ie "fsck /usr" | Theo de Raadt | |
1996-01-29 | use fs_csaddr to find the cg summary area; from ↵ | Theo de Raadt | |
mouse@collatz.mccrim.mcgill.edu; netbsd pr#1366 |