summaryrefslogtreecommitdiff
path: root/sbin/dumpfs
AgeCommit message (Collapse)Author
2002-06-09rm trailing whitespaceTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-01remove unused variable; csapuntz okTheo de Raadt
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-04-13Fix 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.
1999-07-18print out fs_flags fields; mpp@freebsdTheo de Raadt
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-04-25handle truncated superblock read; rnordier@freebsdTheo de Raadt
1997-11-13Say "soft updates" when FS_DOSOFTDEP is set in superblock, could look nicer.Todd C. Miller
1997-09-21$OpenBSD$Theo de Raadt
1997-06-30print fs_maxfilesize; bde@freebsdTheo de Raadt
1997-05-31lukem: Determine filesystem level (ref: fsck_ffs(8) -c ...) and display it.Theo de Raadt
Code was derivied from observing how fsck_ffs `upgrades' to a given level, and has been tested on recent NetBSD filesystems (reports as "3"), SunOS ("1"), and ULTRIX ("0"). I haven't found a filesystem of level "2" to test, but the code should detect it. Fixes [bin/1353]
1997-02-11Remove occurences of headswitch and trackseek, they no longerTodd C. Miller
exist in struct fs.
1996-06-23update rcsidTheo de Raadt
1996-01-11sync with netbsdTheo de Raadt
1995-11-20lseek botch repair; from tegge@idt.unit.no; netbsd pr#1768Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt