Add information about the new options to newfs and tunefs which set the

expected average file size and number of files per directory.  Could do
with some fleshing out.
This commit is contained in:
Nik Clayton 2001-04-10 10:36:44 +00:00
parent adbed65dd2
commit 044479f5ad
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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.