summaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert dumpfs(8) to libufs(3), rather than rolling local functions for ajmallett2002-07-112-39/+14
| | | | number of things.
* The .Nm utilitycharnier2002-07-061-3/+4
|
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-106/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* more file system > filesystemtrhodes2002-05-161-4/+4
|
* Sigh, more BBSIZE related breakage.phk2002-05-121-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* o __P removedimp2002-03-201-16/+9
| | | | | | | o ansi function prototypes o unifdef -D__STDC__ o __dead2 on usage prototype o remove now-bogus main prototype
* Remove 'register' keyword.obrien2002-03-201-4/+4
| | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+1
|
* The ffs superblock includes a 128-byte region for use by temporaryiedowse2001-01-151-2/+2
| | | | | | | | | | | | | | | | | | | | 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. Reviewed by: mckusick
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Print out the fields that are set in fs_flags.mpp1999-07-181-1/+12
|
* Print out the fs_id field.phk1999-06-271-1/+2
|
* Add rcsid. Remove unused #includes.charnier1998-06-151-4/+5
|
* Check bytes read to prevent random error message.rnordier1998-04-201-1/+8
|
* Print fs_maxfilesize.bde1997-06-291-2/+2
|
* Make this compile after the fsirand changes that deleted two fields.peter1997-03-281-2/+2
| | | | | | | | | I was not sure whether the fs_id fields should be printed in the clear in case of sniffing over a network login etc. It might be an idea to have somebody with spare time go through and find any other missing fields that should be reported. Definate 2.2.x/2.1.x candidate since it breaks the build.
* Merge from Lite2peter1997-03-111-13/+13
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-3/+4
|
* dumpfs blindly trusts that it has been handed a filesystem.phk1996-10-211-0/+7
| | | | | | | If the magic is bad, don't waste our time. Submitted by: Giles Lean Giles Lean <giles@nemeton.com.au> Obtained from: NetBSD PR bin/249
* Fix a couple of bogus casts to off_t that caused dumpfs to lseek negativepeter1996-06-231-4/+4
| | | | on filesystems > 2GB (which causes the disk slice code to call Debugger!!)
* Corrected message when no rotational position table is found.dg1994-10-011-1/+1
|
* Added a "clean" field to the output - to show the state of the clean flag.dg1994-08-201-2/+2
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+383
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud