summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-04-29 10:02:50 +0000
committertrasz <trasz@FreeBSD.org>2009-04-29 10:02:50 +0000
commit1fa36791b4c4434acd4227dd9a799efb7dc6e857 (patch)
tree6b96534d60b4712be34a4f67b17e632b8fc127a8 /sbin
parentfefd4b2fb5daf7c1554ce121fb6fcc201aa261dc (diff)
downloadFreeBSD-src-1fa36791b4c4434acd4227dd9a799efb7dc6e857.zip
FreeBSD-src-1fa36791b4c4434acd4227dd9a799efb7dc6e857.tar.gz
Slightly improve gjournal documentation.
Reviewed by: pjd
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/class/journal/gjournal.83
-rw-r--r--sbin/newfs/newfs.84
-rw-r--r--sbin/tunefs/tunefs.83
3 files changed, 8 insertions, 2 deletions
diff --git a/sbin/geom/class/journal/gjournal.8 b/sbin/geom/class/journal/gjournal.8
index ba870cf..319b902 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 6dcb859..9aea040 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 245aa36..06e47ca 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
OpenPOWER on IntegriCloud