From 4e6430a67f9102b848ddc0681a988a0457df4855 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Wed, 29 Apr 2009 10:02:50 +0000 Subject: [PATCH] Slightly improve gjournal documentation. Reviewed by: pjd --- sbin/geom/class/journal/gjournal.8 | 3 ++- sbin/newfs/newfs.8 | 4 ++++ sbin/tunefs/tunefs.8 | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sbin/geom/class/journal/gjournal.8 b/sbin/geom/class/journal/gjournal.8 index ba870cf47a6c..319b90244076 100644 --- a/sbin/geom/class/journal/gjournal.8 +++ b/sbin/geom/class/journal/gjournal.8 @@ -162,7 +162,8 @@ Hardcode provider names in metadata. Specifies size of the journal if only one provider is used for both data and journal. The default is one gigabyte. -Size should be chosen based on provider's load, and not on its size. +Size should be chosen based on provider's load, and not on its size; +recommended minimum is twice the size of the physical memory installed. It is not recommended to use .Nm for small file systems (e.g.: only few gigabytes big). diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8 index 6dcb8592b9e1..9aea040cc1dd 100644 --- a/sbin/newfs/newfs.8 +++ b/sbin/newfs/newfs.8 @@ -85,6 +85,9 @@ wear levelling algorithms. NB: Erasing may take as long time as writing every sector on the disk. .It Fl J Enable journaling on the new file system via gjournal. +See +.Xr gjournal 8 +for details. .It Fl L Ar volname Add a volume label to the new file system. .It Fl N @@ -278,6 +281,7 @@ on file systems that contain many small files. .Xr dump 8 , .Xr dumpfs 8 , .Xr fsck 8 , +.Xr gjournal 8 , .Xr mount 8 , .Xr tunefs 8 , .Xr gvinum 8 diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8 index 245aa361f257..06e47cae8647 100644 --- a/sbin/tunefs/tunefs.8 +++ b/sbin/tunefs/tunefs.8 @@ -89,7 +89,7 @@ this parameter should be set higher. .It Fl f Ar avgfilesize Specify the expected average file size. .It Fl J Cm enable | disable -Turn on/off GJournal flag. +Turn on/off gjournal flag. .It Fl L Ar volname Add/modify an optional file system volume label. .It Fl l Cm enable | disable @@ -145,6 +145,7 @@ specified mount point. .Sh SEE ALSO .Xr fs 5 , .Xr dumpfs 8 , +.Xr gjournal 8 , .Xr newfs 8 .Rs .%A M. McKusick