diff options
author | trhodes <trhodes@FreeBSD.org> | 2002-08-21 18:11:48 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2002-08-21 18:11:48 +0000 |
commit | 136be46680c6e4a18cc827da991d4f9a0de29cba (patch) | |
tree | b5ee0aba66633a4e0e47097e4f383c253a87887a /sbin/tunefs | |
parent | 9618da3e35435c433d8086d65af15f716ffe32ec (diff) | |
download | FreeBSD-src-136be46680c6e4a18cc827da991d4f9a0de29cba.zip FreeBSD-src-136be46680c6e4a18cc827da991d4f9a0de29cba.tar.gz |
s/filesystem/file system/g as discussed on -developers
Diffstat (limited to 'sbin/tunefs')
-rw-r--r-- | sbin/tunefs/tunefs.8 | 26 | ||||
-rw-r--r-- | sbin/tunefs/tunefs.c | 10 |
2 files changed, 18 insertions, 18 deletions
diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8 index 903713f..153c1a8 100644 --- a/sbin/tunefs/tunefs.8 +++ b/sbin/tunefs/tunefs.8 @@ -37,7 +37,7 @@ .Os .Sh NAME .Nm tunefs -.Nd tune up an existing filesystem +.Nd tune up an existing file system .Sh SYNOPSIS .Nm .Op Fl A @@ -49,23 +49,23 @@ .Op Fl o Cm space | time .Op Fl p .Op Fl s Ar avgfpdir -.Ar special | filesystem +.Ar special | file system .Sh DESCRIPTION The .Nm -utility is designed to change the dynamic parameters of a filesystem +utility is designed to change the dynamic parameters of a file system which affect the layout policies. The .Nm -utility cannot be run on an active filesystem. -To change an active filesystem, +utility cannot be run on an active file system. +To change an active file system, it must be downgraded to read-only or unmounted. .Pp The parameters which are to be changed are indicated by the flags given below: .Bl -tag -width indent .It Fl A -The filesystem has several backups of the super-block. +The file system has several backups of the super-block. Specifying this option will cause all backups to be modified as well as the primary super-block. @@ -87,7 +87,7 @@ in that cylinder group. The effect of this limit is to cause big files to do long seeks more frequently than if they were allowed to allocate all the blocks in a cylinder group before seeking elsewhere. -For filesystems with exclusively large files, +For file systems with exclusively large files, this parameter should be set higher. .It Fl f Ar avgfilesize Specify the expected average file size. @@ -102,7 +102,7 @@ Settings of 5% and less force space optimization to always be used which will greatly increase the overhead for file writes. .It -The filesystem's ability to avoid fragmentation will be reduced +The file system's ability to avoid fragmentation will be reduced when the total free space, including the reserve, drops below 15%. As free space approaches zero, throughput can degrade by up to a factor of three over the performance obtained at a 10% threshold. @@ -114,16 +114,16 @@ been deleted to get under the higher threshold. .It Fl n Cm enable | disable Turn on/off soft updates. .It Fl o Cm space | time -The filesystem can either try to minimize the time spent +The file system can either try to minimize the time spent allocating blocks, or it can attempt to minimize the space fragmentation on the disk. Optimization for space has much higher overhead for file writes. The kernel normally changes the preference automatically as -the percent fragmentation changes on the filesystem. +the percent fragmentation changes on the file system. .It Fl p Show a summary of what the current tunable settings -are on the selected filesystem. +are on the selected file system. More detailed information can be obtained from the .Xr dumpfs 8 @@ -159,11 +159,11 @@ specified mount point. .%O "(reprinted in the BSD System Manager's Manual, SMM:5)" .Re .Sh BUGS -This utility should work on active filesystems. +This utility should work on active file systems. .\" Take this out and a Unix Daemon will dog your steps from now until .\" the time_t's wrap around. .Pp -You can tune a filesystem, but you can't tune a fish. +You can tune a file system, but you can't tune a fish. .Sh HISTORY The .Nm diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index e272446..15373ce 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -46,7 +46,7 @@ static const char rcsid[] = #endif /* not lint */ /* - * tunefs: change layout parameters to an existing filesystem. + * tunefs: change layout parameters to an existing file system. */ #include <sys/param.h> #include <sys/mount.h> @@ -214,7 +214,7 @@ again: err(1, "%s", special); } if (fs == NULL && (st.st_mode & S_IFMT) == S_IFDIR) - errx(10, "%s: unknown filesystem", special); + errx(10, "%s: unknown file system", special); getsb(&sblock, special); if (pflag) { @@ -327,7 +327,7 @@ again: if (mount("ufs", fs->fs_file, stfs.f_flags | MNT_UPDATE | MNT_RELOAD, &args) < 0) err(9, "%s: reload", special); - warnx("filesystem reloaded"); + warnx("file system reloaded"); } exit(0); } @@ -338,7 +338,7 @@ usage() fprintf(stderr, "%s\n%s\n%s\n", "usage: tunefs [-A] [-a maxcontig] [-d rotdelay] [-e maxbpg] [-f avgfilesize]", " [-m minfree] [-p] [-n enable | disable] [-o space | time]", -" [-s filesperdir] special | filesystem"); +" [-s filesperdir] special | file system"); exit(2); } @@ -369,7 +369,7 @@ getsb(fs, file) break; } if (sblock_try[i] == -1) - err(5, "Cannot find filesystem superblock"); + err(5, "Cannot find file system superblock"); dev_bsize = fs->fs_fsize / fsbtodb(fs, 1); sblockloc = sblock_try[i] / dev_bsize; } |