summaryrefslogtreecommitdiffstats
path: root/sbin/tunefs
Commit message (Collapse)AuthorAgeFilesLines
* Advertise growfs(8) a little better.trasz2011-06-221-1/+2
|
* We now have multiple filesystems (UFS, ZFS, ...), so for tools that onlygavin2011-05-081-3/+3
| | | | | | | | operate on one type of filesystem, mention this. While here, capitalise the use of "UFS" in growfs.8 to match other uses of the term in other man pages. MFC after: 1 week
* When creating a directory entry for the journal, always read at leastkib2011-02-121-10/+20
| | | | | | | | | | | the fragment, and write the full block. Reading less might not work due to device sector size bigger then size of direntries in the last directory fragment. Reported by: bz In collaboration with: pho Reviewed by: jeff Tested by: bz, pho
* Add support for FS_TRIM to user-mode UFS utilities.kib2010-12-292-5/+50
| | | | | | Reviewed by: mckusick, pjd, pho Tested by: pho MFC after: 1 month
* - Round up the journal size to the block size so we don't confuse fsck.jeff2010-05-181-4/+8
| | | | | | | | | | | Reported by: Mikolaj Golub <to.my.trociny@gmail.com> - Only require 256k of blocks per-cg when trying to allocate contiguous journal blocks. The storage may not actually be contiguous but is at least within one cg. - When disabling SUJ leave SU enabled and report this to the user. It is expected that users will upgrade SU filesystems to SUJ and want a similar downgrade path.
* Improve usage of tunefs:edwin2010-05-011-3/+4
| | | | | | | Document -j switch in usage() to reflect recent SUJ work. Submitted by: Alastair Hogge MFC after: 1 week
* - Use the path to the filesystem mountpoint to look up the statfsjeff2010-04-301-4/+4
| | | | | | | | structure so that we correctly reload. Note that tunefs doesn't properly detect the need to reload if the disk device is specified for a read-only mounted filesystem. - Lessen the contiguity requirement for the journal so that it is more likely to succeed.
* - Temporarily lower WARNS until I fix alignment warnings on sparc64.jeff2010-04-241-0/+2
| | | | Reported by: Florian Smeets
* - Merge soft-updates journaling from projects/suj/head into head. Thisjeff2010-04-242-9/+567
| | | | | | | | brings in support for an optional intent log which eliminates the need for background fsck on unclean shutdown. Sponsored by: iXsystems, Yahoo!, and Juniper. With help from: McKusick and Peter Holm
* Quiet spurious warnings.mckusick2010-02-111-2/+2
|
* Raise WARNS for various tools where possible.ed2010-01-171-1/+0
| | | | Submitted by: Marius Nünnerich <marius@nuenneri.ch>
* Implement NFSv4 ACL support for UFS.trasz2009-12-212-11/+54
| | | | Reviewed by: rwatson
* The tunefs utility does not work on active filesystems.remko2009-10-211-2/+2
| | | | | | PR: docs/139705 Submitted by: Warren Block <wblock at wonkity dot com> Approved by: imp (mentor, implicit)
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-0/+1
| | | | Submitted by: Ulrich Spörlein
* Slightly improve gjournal documentation.trasz2009-04-291-1/+2
| | | | Reviewed by: pjd
* o s/filesystem/file system/g.maxim2007-09-231-2/+2
| | | | | | Pointed out by: ru Approved by: re (bmah) MFC after: 3 days
* o You have to reboot the system after tuning softupdates on the rootmaxim2007-08-121-1/+3
| | | | | | | filesystem on to make SU work. Approved by: re (hrs) MFC after: 1 week
* Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournalpjd2006-10-312-7/+45
| | | | | | | | support. I left -j flag for UFS journal implementation which we may gain at some point. Sponsored by: home.pl
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-5/+5
|
* Remove advertising clause from University of California Regent's license,markm2004-04-092-8/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Fixed some style bugs in the residue of rev.1.14 (mainly initialization inbde2004-03-261-26/+23
| | | | declarations, uncuddled elses and excessive braces).
* Fixed some style bugs in or related to rev.1.13 (mainly misindentation ofbde2004-03-261-109/+128
| | | | the getopt() case statement).
* Remove another reference to ffsinfo.8brueffer2003-06-171-3/+1
|
* Remove references to ffsinfo(8) for now. It was disconnected frombrueffer2003-06-171-1/+0
| | | | the build almost a year ago.
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-4/+4
|
* Sort options.ru2003-02-232-22/+22
|
* Bring in support for volume labels to the filesystem utilities.gordon2003-02-012-8/+35
| | | | Reviewed by: mckusick
* Fix problems with how libufs was used, with regard to mounted/active fs's,jmallett2003-01-281-32/+16
| | | | | in the new world order of libufs, where we also do statfs, and add a missing close.
* Added UFS library to the bsd.libnames.mk namespace.ru2003-01-231-1/+1
|
* Make tunefs use libufs, it seems to do well enough for printing / settingjmallett2003-01-202-108/+15
| | | | things.
* Consistentify output whitespace.jmallett2003-01-181-1/+1
|
* Create a new 32-bit fs_flags word in the superblock. Add code to movemckusick2002-11-271-1/+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.
* s/clear/cleared/ for consistency (sigh)rwatson2002-10-161-2/+2
| | | | Reported by: dd
* Spell 'set' as 'cleared' where appropriate.rwatson2002-10-151-2/+2
|
* Teach tunefs to print the ACL and multilabel flag information whenrwatson2002-10-151-0/+4
| | | | | | | inspecting a superblock. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Correct some of the style problems in this file:rwatson2002-10-152-10/+10
| | | | | | | | | I introduced a style problem when I sorted 'a' before 'A'; our preferred order sorts 'A' first. Correct. Use .Cm instead of .Ar. Submitted by: bde
* Introduce -a [enable|disable] and -l [enable|disable] flags to the tunefsrwatson2002-10-142-7/+73
| | | | | | | | command, permitting it to set FS_ACLS and FS_MULTILABEL administrative flags on UFS file systems. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Removed vestiges of the -a and -d options.bde2002-09-061-5/+3
| | | | Fixed other bugs in the usage message so that it matches the man page.
* Remove the -a maxcontig option, the kernel doesn't inspect fs_maxcontigphk2002-09-062-27/+3
| | | | | | anymore. Sponsored by: DARPA & NAI Labs.
* Fix some 'SYNOPSIS' and 'usage' messages.trhodes2002-08-271-1/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-212-18/+18
|
* mdoc(7) police: laundry.ru2002-08-131-17/+16
|
* The .Nm utility.charnier2002-07-061-3/+4
|
* Don't say that an umounted filesystem is required for -n. An unmountedbde2002-06-211-1/+0
| | | | | filesystem is no more or less required for -n than for any other option. The previous commit clarified the actual requirement.
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-212-57/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* mdoc(7) police: markup nits.ru2002-05-291-1/+1
|
* more file system > filesystemtrhodes2002-05-161-3/+3
|
* Sigh, more BBSIZE related breakage.phk2002-05-121-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* 'file system' > filesystemtrhodes2002-05-061-12/+18
| | | | | | | add FILES section. PR: 34239 Submitted by: Gary W. Swearingen <swear@blarg.net>
OpenPOWER on IntegriCloud