summaryrefslogtreecommitdiff
path: root/sbin/dumpfs
AgeCommit message (Collapse)Author
2011-02-28switch open(...) to opendev(...)Alexander Hall
makes yet another utility honor DUID's ok jsing@ miod@ deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-08-19Look at 'fs_flags' when dumping FFS2 file systems, okay beck@, millert@Pedro Martelletto
and otto@.
2008-06-08fix generated size for -m; bug report by Peter J. Philipp; ok millert@Otto Moerbeek
deraadt@
2008-01-22pick the right csaddr when dumping cgs. Makes FFS2 dumps work much betterOtto Moerbeek
ok thib@ millert@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-21Use SBLOCKSEARCH[] to find the superblock. OK pedro@Todd C. Miller
2007-05-05Add support for ffs2 and a new flag, -m, which will output aTodd C. Miller
newfs command that can be used to make a filesystem with the same settings. OK otto@
2007-04-19teach dumpfs about the 'updated' flag; ok pedro@Otto Moerbeek
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks.
2006-03-09Remove option -n from newfs as well as all references to fs_postbl()Pedro Martelletto
Various testing for a while, okay krw@
2004-07-28.Xr growfs 8Jason McIntyre
2003-06-25ansiTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-09-06bogus ; outside of functionTheo de Raadt
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