summaryrefslogtreecommitdiffstats
path: root/sbin/growfs
Commit message (Collapse)AuthorAgeFilesLines
* Remove references to ffsinfo(8) for now. It was disconnected frombrueffer2003-06-171-1/+0
| | | | the build almost a year ago.
* style clean.obrien2003-06-111-2/+2
|
* Understand GEOM. This makes growfs work again, but it really needs rewriting.grog2003-05-121-28/+57
| | | | | Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Approved by: re (scottl)
* Fix typos in comments; some style(9) fixes; no code changes.schweikh2003-04-261-121/+117
| | | | | PR: misc/50979 Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* Create a new 32-bit fs_flags word in the superblock. Add code to movemckusick2002-11-271-2/+1
| | | | | | | | | | | | | | | | | the old 8-bit fs_old_flags to the new location the first time that the filesystem is mounted by a new kernel. One of the unused flags in fs_old_flags is used to indicate that the flags have been moved. Leave the fs_old_flags word intact so that it will work properly if used on an old kernel. Change the fs_sblockloc superblock location field to be in units of bytes instead of in units of filesystem fragments. The old units did not work properly when the fragment size exceeeded the superblock size (8192). Update old fs_sblockloc values at the same time that the flags are moved. Suggested by: BOUWSMA Barry <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs.
* Typo fix that I brought in rev 1.16keramida2002-11-211-1/+1
|
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-252-6/+8
|
* Mention that fdisk(8) should be used to grow the containing slicekeramida2002-08-291-0/+6
| | | | | | | before growing partitions with growfs(8), if necessary. PR: docs/42148 Submitted by: Chris S.J. Peron <maneo@bsdpro.com>
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-213-34/+34
|
* can not -> cannot.ru2002-08-131-2/+2
|
* 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