summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/newfs/newfs.86
-rw-r--r--sbin/tunefs/tunefs.86
2 files changed, 12 insertions, 0 deletions
diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8
index faa5bd4..915f8dc 100644
--- a/sbin/newfs/newfs.8
+++ b/sbin/newfs/newfs.8
@@ -50,6 +50,8 @@
.Op Fl d Ar rotdelay
.Op Fl e Ar maxbpg
.Op Fl f Ar frag-size
+.Op Fl g Ar avgfilesize
+.Op Fl h Ar avfpdir
.Op Fl i Ar bytes
.Op Fl k Ar skew
.Op Fl l Ar interleave
@@ -200,6 +202,10 @@ ranging in value between
and
.Ar blocksize .
The default is 1024 bytes.
+.It Fl g Ar avgfilesize
+The expected average file size for the file system.
+.It Fl h Ar avgfpdir
+The expected average number of files per directory on the file system.
.It Fl i Ar number of bytes per inode
Specify the density of inodes in the file system.
The default is to create an inode for every
diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8
index 72fc5a7..dd6ea92 100644
--- a/sbin/tunefs/tunefs.8
+++ b/sbin/tunefs/tunefs.8
@@ -44,11 +44,13 @@
.Op Fl a Ar maxcontig
.Op Fl d Ar rotdelay
.Op Fl e Ar maxbpg
+.Op Fl f Ar avgfilesize
.Op Fl m Ar minfree
.Bk -words
.Op Fl n Ar enable | disable
.Op Fl o Ar space | time
.Op Fl p
+.Op Fl s Ar avgfpdir
.Ek
.Ar special | Ar filesystem
.Sh DESCRIPTION
@@ -92,6 +94,8 @@ more frequently than if they were allowed to allocate all the blocks
in a cylinder group before seeking elsewhere.
For file systems with exclusively large files,
this parameter should be set higher.
+.It Fl f Ar avgfilezsize
+Specify the expected average file size.
.It Fl m Ar minfree
Specify the percentage of space held back
from normal users; the minimum free space threshold.
@@ -122,6 +126,8 @@ are on the selected file system. More detailed information can be
obtained in the
.Xr dumpfs 8
manual page.
+.It Fl s Ar avgfpdir
+Specify the expected number of files per directory.
.El
.Pp
At least one of the above flags is required.
OpenPOWER on IntegriCloud