diff options
author | nik <nik@FreeBSD.org> | 2001-04-10 10:36:44 +0000 |
---|---|---|
committer | nik <nik@FreeBSD.org> | 2001-04-10 10:36:44 +0000 |
commit | f9125d616d5305c3b4bd9ebe7a076e5cd997f909 (patch) | |
tree | 757a5266aafc64a4be75c013466743a197e63697 /sbin | |
parent | 2fbfd2079a9a4b7d3cb2b466fcdee256a11717f0 (diff) | |
download | FreeBSD-src-f9125d616d5305c3b4bd9ebe7a076e5cd997f909.zip FreeBSD-src-f9125d616d5305c3b4bd9ebe7a076e5cd997f909.tar.gz |
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.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs/newfs.8 | 6 | ||||
-rw-r--r-- | sbin/tunefs/tunefs.8 | 6 |
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. |