git: b56d312cd5f7 - main - tunefs.8/newfs.8: Specify unit of the avgfilesize parameter
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Nov 2026 18:56:45 UTC
The branch main has been updated by bcr:
URL: https://cgit.FreeBSD.org/src/commit/?id=b56d312cd5f707ae652da0efc9b33aa23d9cf617
commit b56d312cd5f707ae652da0efc9b33aa23d9cf617
Author: Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2026-10-30 14:40:51 +0000
Commit: Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2026-10-29 19:24:08 +0000
tunefs.8/newfs.8: Specify unit of the avgfilesize parameter
The avgfilesize description does not say what the unit is (sectors,
blocks, bytes). Extend the description to mention that this parameter is
in bytes.
PR: 298705
Event: Oslo Hackathon 2026
Differential Revision: https://reviews.freebsd.org/D61047
---
sbin/newfs/newfs.8 | 2 +-
sbin/tunefs/tunefs.8 | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8
index 3aa3890479bf..b62324f2cae7 100644
--- a/sbin/newfs/newfs.8
+++ b/sbin/newfs/newfs.8
@@ -166,7 +166,7 @@ and
.\" of the first backup superblock on the fsck_ffs.8 manual page.
The default is 4096 bytes.
.It Fl g Ar avgfilesize
-The expected average file size for the file system.
+The expected average file size for the file system in bytes.
.It Fl h Ar avgfpdir
The expected average number of files per directory on the file system.
.It Fl i Ar bytes
diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8
index 8c2d0bbf5d1d..9b9351e39d61 100644
--- a/sbin/tunefs/tunefs.8
+++ b/sbin/tunefs/tunefs.8
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 20, 2026
+.Dd October 30, 2026
.Dt TUNEFS 8
.Os
.Sh NAME
@@ -89,7 +89,7 @@ in a cylinder group before seeking elsewhere.
For file systems with exclusively large files,
this parameter should be set higher.
.It Fl f Ar avgfilesize
-Specify the expected average file size.
+Specify the expected average file size in bytes.
.It Fl j Cm enable | disable
Turn on/off soft updates journaling.
Enabling soft updates journaling implies enabling soft updates and is