aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb/fsdb.h
Commit message (Collapse)AuthorAgeFilesLines
* Update after function renames.Pawel Jakub Dawidek2006-10-311-2/+1
| | | | | | | Sponsored by: home.pl Notes: svn path=/head/; revision=163846
* o Do recrack(arguments) for commands which actually take NAME asMaxim Konovalov2006-04-211-0/+1
| | | | | | | | | | | | | | arguments so we do not coredump at "help foo", "back bar" and such. o Be consistent and print argc - 1 as a command arguments number in all cases. PR: bin/37096 Submitted by: Joshua Goodall MFC after: 1 month Notes: svn path=/head/; revision=157950
* Warning cleanup.Poul-Henning Kamp2002-07-301-2/+2
| | | | | | | Format changes by peter Notes: svn path=/head/; revision=100935
* This commit adds basic support for the UFS2 filesystem. The UFS2Kirk McKusick2002-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> Notes: svn path=/head/; revision=98542
* Match prototypes to functions over in fsck_ffs.Poul-Henning Kamp2002-05-141-3/+3
| | | | Notes: svn path=/head/; revision=96570
* o __P removal.Warner Losh2002-03-211-12/+12
| | | | | | | | | o ansi function definitions. o main prototype removal o unifdef __STDC__ Notes: svn path=/head/; revision=92881
* Something i always wanted to see: add a function to print the list ofJoerg Wunsch2002-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 Notes: svn path=/head/; revision=89827
* Allow fsdb the ability to work with entries named with whitespace embedded.Brian Feldman2002-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. Notes: svn path=/head/; revision=89791
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Implement a -r option to fsdb(8), ``read/only''.Joerg Wunsch1997-04-151-1/+4
| | | | Notes: svn path=/head/; revision=24956
* Missing $Id$Peter Wemm1997-03-131-0/+2
| | | | Notes: svn path=/head/; revision=23839
* Whoops. RE-Import NetBSD's fsdb - I believe this was written by John Kohl.Peter Wemm1995-11-031-0/+56
Obtained from: NetBSD Notes: svn path=/vendor/NetBSD/dist/; revision=12048