summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb/fsdb.h
Commit message (Collapse)AuthorAgeFilesLines
* Warning cleanup.phk2002-07-301-2/+2
| | | | Format changes by peter
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Match prototypes to functions over in fsck_ffs.phk2002-05-141-3/+3
|
* o __P removal.imp2002-03-211-12/+12
| | | | | | o ansi function definitions. o main prototype removal o unifdef __STDC__
* Something i always wanted to see: add a function to print the list ofjoerg2002-01-261-1/+1
| | | | | | | | blocks allocated by some inode. Indirect blocks are printed recursively, so beware :), the list could become lengthy... (We should probably add some output pager to fsdb.) MFC after: 1 month
* Allow fsdb the ability to work with entries named with whitespace embedded.green2002-01-251-0/+1
| | | | | | | | | | | This works by retokenizing a line with a split limit so that if the argument count for a command is greater than the number of arguments formed by splitting apart the line of user input, the last argument is instead all of the remainder of the input line. Yes, I needed this capability at one point to fix a filesystem manually, which happened to break with a problematic space-containing directory entry.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Implement a -r option to fsdb(8), ``read/only''.joerg1997-04-151-1/+4
|
* Missing $Id$peter1997-03-131-0/+2
|
* Whoops. RE-Import NetBSD's fsdb - I believe this was written by John Kohl.peter1995-11-031-0/+56
Obtained from: NetBSD
OpenPOWER on IntegriCloud