FreeBSD Bugzilla – Attachment 115577 Details for
Bug 157354
[PATCH] update newfs(8) man page after changed defaults
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sbin.newfs.8.diff
sbin.newfs.8.diff (text/plain), 1.49 KB, created by
Niclas Zeising
on 2011-05-26 21:10:04 UTC
(
hide
)
Description:
sbin.newfs.8.diff
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2011-05-26 21:10:04 UTC
Size:
1.49 KB
patch
obsolete
>Index: newfs.8 >=================================================================== >--- newfs.8 (revision 222288) >+++ newfs.8 (working copy) >@@ -28,7 +28,7 @@ > .\" @(#)newfs.8 8.6 (Berkeley) 5/3/95 > .\" $FreeBSD$ > .\" >-.Dd February 22, 2011 >+.Dd May 26, 2011 > .Dt NEWFS 8 > .Os > .Sh NAME >@@ -112,7 +112,7 @@ > The block size of the file system, in bytes. > It must be a power of 2. > The >-default size is 16384 bytes, and the smallest allowable size is 4096 bytes. >+default size is 32768 bytes, and the smallest allowable size is 4096 bytes. > The optimal block:fragment ratio is 8:1. > Other ratios are possible, but are not recommended, > and may produce poor results. >@@ -143,7 +143,9 @@ > .Ar blocksize Ns /8 > and > .Ar blocksize . >-The default is 2048 bytes. >+The default is 4096 bytes. >+Having a lower size will result in poor performance with modern disks utilizing >+4096 byte sectors. > .It Fl g Ar avgfilesize > The expected average file size for the file system. > .It Fl h Ar avgfpdir >@@ -279,11 +281,8 @@ > .Pa ad3s1a . > The > .Nm >-utility will use a block size of 16384 bytes, a fragment size of 2048 bytes >+utility will use a block size of 32768 bytes, a fragment size of 4096 bytes > and the largest possible number of blocks per cylinders group. >-These values tend to produce better performance for most applications >-than the historical defaults >-(8192 byte block size and 1024 byte fragment size). > This large fragment size may lead to much wasted space > on file systems that contain many small files. > .Sh SEE ALSO
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 157354
: 115577