Fix build.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2013-11-24 23:25:14 +00:00
parent b90f9f8bc9
commit 44398cd744
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43237

View file

@ -1339,22 +1339,22 @@
<answer>
<para>For FFS file systems, the largest file system is practically
limited by the amount of memory required to &man.fsck.8 the file
system. &man.fsck.8 requires one bit per fragment, which with
the default fragment size of 4&nbps;KB equates to 32&nbps;MB
limited by the amount of memory required to &man.fsck.8; the file
system. &man.fsck.8; requires one bit per fragment, which with
the default fragment size of 4&nbsp;KB equates to 32&nbsp;MB
of memory per TB of disk. This does mean that on architectures
which limit userland processes to 2&nbps;GB (e.g., &i386;),
the maximum &man.fsck.8'able filesystem is ~60&nbps;TB.</para>
which limit userland processes to 2&nbsp;GB (e.g., &i386;),
the maximum &man.fsck.8;'able filesystem is ~60&nbsp;TB.</para>
<para>If there was not a &man.fsck.8 memory limit the maximum
filesystem size would be 2&nbps;^&nbps;64 (blocks) * 32&nbps;KB
=> 16 Exa * 32&nbps;KB => 512 ZettaBytes.</para>
<para>If there was not a &man.fsck.8; memory limit the maximum
filesystem size would be 2&nbsp;^&nbsp;64 (blocks) * 32&nbsp;KB
=> 16 Exa * 32&nbsp;KB => 512 ZettaBytes.</para>
<para>The maximum size of a single FFS file is approximately
2&nbsp;PB with the default block size of 32&nbsp;KB. Each
32&nbsp;KB block can point to 4096 blocks. With triple
indirect blocks, the calculation is 32&nbps;KB * 12 +
32&nbps;KB * 4096 + 32&nbps;KB * 4096^2 + 32&nbps;KB *
indirect blocks, the calculation is 32&nbsp;KB * 12 +
32&nbsp;KB * 4096 + 32&nbsp;KB * 4096^2 + 32&nbsp;KB *
4096^3. Increasing the block size to 64&nbsp;KB will increase
the max file size by a factor of 16.</para>
</answer>