summaryrefslogtreecommitdiffstats
path: root/sbin/growfs
Commit message (Collapse)AuthorAgeFilesLines
* The .Nm utilitycharnier2002-07-061-4/+7
|
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-395/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-162-22/+22
|
* Remove 'register' keyword.obrien2002-03-201-1/+1
| | | | | | 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?)
* Teach growfs's dbg_open() that a filename of "-" for output means torwatson2002-03-201-1/+4
| | | | | | | | | open "/dev/stdout". This doesn't actually affect growfs, but does affect ffsinfo, permitting ffsinfo to output to the shell's stdout rather than requiring it be dumped to a file or explicitly pointed at a special device. Reviewed by: peter
* Typo fix: Usally -> Usually.keramida2002-02-141-1/+1
| | | | | PR: docs/34918 Submitted by: Harry Newton <harry_newton@telinco.co.uk>
* Minor grammar fixes.markm2002-02-061-4/+4
|
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-2/+0
|
* mdoc(7) police: spelling, punctuation and markup nits.ru2001-08-101-10/+12
|
* fixing a bug in test mode (growfs -N)chm2001-08-082-35/+75
| | | | | | Submitted by: Chris Boltwood <chris@hiendmedia.com> Reviewed by: tomsoft MFC after: 5 days
* MFS: in HISTORY section, fix release number of first appearancesheldonh2001-08-011-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-18/+18
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* cleanup to get rid of most warnings on alphatomsoft2001-06-072-92/+105
| | | | | | | and yes now it also works on alpha Reviewed by: chm MFC after: 3 weeks
* fix a bug of a only partitally initialization which could resulttomsoft2001-06-051-1/+2
| | | | | | | in an unclean filesystem after growing by a large amount of cylinder groups Reviewed by: chm
* - 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/+0
|
* Fix a logical bug introduced by changing the formatting.tomsoft2000-12-131-1/+1
| | | | | Submitted by: ru Reviewed by: chm
* Mdoc(7)ify.ru2000-12-131-18/+13
|
* corrected spelling mistakes in commentstomsoft2000-12-123-144/+189
| | | | | | | | | | check a couple of mallocs usage of errx linebreaks of DBG_ macros, correcting the usage of nroff macros Submitted by: grog, charnier Reviewed by: chm
* added growfs(8) including ffsinfo(8) to the freebsd base systemtomsoft2000-12-095-0/+3487
Reviewed by: grog
OpenPOWER on IntegriCloud