summaryrefslogtreecommitdiffstats
path: root/sbin/tunefs/tunefs.8
Commit message (Collapse)AuthorAgeFilesLines
* Mention fsck_ffs -E in tunefs(8). It's non-obvious that one shouldtrasz2016-04-191-2/+8
| | | | | | | | | use it after enabling TRIM. Reviewed by: brueffer@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5928
* The purpose of this change to the FFS layout policy is to reduce themckusick2013-03-221-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | running time for a full fsck. It also reduces the random access time for large files and speeds the traversal time for directory tree walks. The key idea is to reserve a small area in each cylinder group immediately following the inode blocks for the use of metadata, specifically indirect blocks and directory contents. The new policy is to preferentially place metadata in the metadata area and everything else in the blocks that follow the metadata area. The size of this area can be set when creating a filesystem using newfs(8) or changed in an existing filesystem using tunefs(8). Both utilities use the `-k held-for-metadata-blocks' option to specify the amount of space to be held for metadata blocks in each cylinder group. By default, newfs(8) sets this area to half of minfree (typically 4% of the data area). This work was inspired by a paper presented at Usenix's FAST '13: www.usenix.org/conference/fast13/ffsck-fast-file-system-checker Details of this implementation appears in the April 2013 of ;login: www.usenix.org/publications/login/april-2013-volume-38-number-2. A copy of the April 2013 ;login: paper can also be downloaded from: www.mckusick.com/publications/faster_fsck.pdf. Reviewed by: kib Tested by: Peter Holm MFC after: 4 weeks
* 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
* Add support for FS_TRIM to user-mode UFS utilities.kib2010-12-291-1/+10
| | | | | | Reviewed by: mckusick, pjd, pho Tested by: pho MFC after: 1 month
* - Merge soft-updates journaling from projects/suj/head into head. Thisjeff2010-04-241-1/+8
| | | | | | | | 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
* Implement NFSv4 ACL support for UFS.trasz2009-12-211-1/+4
| | | | 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)
* 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-311-0/+3
| | | | | | | | 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-091-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* 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.
* Sort options.ru2003-02-231-3/+3
|
* Bring in support for volume labels to the filesystem utilities.gordon2003-02-011-0/+3
| | | | Reviewed by: mckusick
* Correct some of the style problems in this file:rwatson2002-10-151-4/+4
| | | | | | | | | 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-141-0/+6
| | | | | | | | 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
* Remove the -a maxcontig option, the kernel doesn't inspect fs_maxcontigphk2002-09-061-5/+0
| | | | | | 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-211-13/+13
|
* 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-211-24/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* 'file system' > filesystemtrhodes2002-05-061-12/+18
| | | | | | | add FILES section. PR: 34239 Submitted by: Gary W. Swearingen <swear@blarg.net>
* Expand the reserved space section. Explain how the amount of reservedkeramida2002-04-161-4/+12
| | | | | | space can affect performance. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
* tunefs no longer outputs a warning if one tries to set soft-updates ondd2002-01-071-21/+0
| | | | | | | an unmounted filesystem. PR: 32266 Submitted by: Maxim Konovalov <maxim@macomnet.ru>
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Add information about the new options to newfs and tunefs which set thenik2001-04-101-0/+6
| | | | | expected average file size and number of files per directory. Could do with some fleshing out.
* The tunefs code assumed that the last argument was the device specification.charnier2000-12-101-2/+2
| | | | | | | | | | | | | | | We need to parse the arguments first, then open the device (if specified) and then apply the changes. This change will disallow the (undocumented) use of multiple instances of the same argument on the same command line for the sack of a better error message. Other changes are: 1) the softupdates (-n) now issue a warning about remaining unchanged 2) the usage and man page is changed to specify "space | time" instead of "optimization preference". PR: bin/23335 Submitted by:Mark Peek <mark@whistle.com>
* Remove .Op when arg is required (special | filesystem). Document that atcharnier2000-11-281-1/+3
| | | | | least one flag is required and check this in the code. Make use of getopt(3). Generalyze printing `... remains unchanged ...'.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-5/+10
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Document a waring that tunefs(8) emits when enabling/disablingphantom2000-01-071-0/+19
| | | | | | | soft updates on an unmounted filesystem. PR: docs/15657 Submitted by: Mark Ovens <mark@ukug.uk.FreeBSD.org>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Sort options alphabetically.des1999-01-131-2/+2
|
* Document -n (soft-update) flag.charnier1998-08-031-8/+11
| | | | Add rcsid, remove unused #includes. Sync usage() and SYNOPSIS.
* Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)julian1998-03-081-0/+1
| | | | | Submitted by: Kirk McKusick (mcKusick@mckusick.com) Obtained from: WHistle development tree
* Correct some man page cross references and some filempp1996-02-051-2/+1
| | | | locations.
* Add (apparently) Larry McVoy's warning....peter1995-08-121-0/+2
|
* When tuneing filesystems with tunefs, it is not obvious what the currentjoerg1995-06-251-0/+12
| | | | | | | | | | | | | | | | | parameters are. You can use dumpfs, but that's not obvious which settings are tuneable, and is far from clear to the non-guru (it's like using a hexdump of a tar archive to get a table-of-contents). There is also an undocumented option in the man page that can be dangerous. Suppose your disk driver decides to scramble all writes while you tell tunefs to update all backup superblocks. This suggested change adds a '-p' (print) switch to bring it in line with some SVR4 systems. (Slightly changed by me, mostly for optics. - joerg) Submitted by: peter@haywire.dialix.com
* Changed manual page to conform to the reality in FreeBSD.dg1995-03-151-9/+8
|
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+138
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud