summaryrefslogtreecommitdiffstats
path: root/sbin/ffsinfo/ffsinfo.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-13 11:33:19 +0000
committerru <ru@FreeBSD.org>2000-12-13 11:33:19 +0000
commit6102fe2ec448062f6f7507ce205257c76a91a3da (patch)
treef283fdabd03a9eca64f6b31e8e02620ecc0a31cb /sbin/ffsinfo/ffsinfo.8
parent5612c73391b08c6b3a883c7a470f44bc51e40ef3 (diff)
downloadFreeBSD-src-6102fe2ec448062f6f7507ce205257c76a91a3da.zip
FreeBSD-src-6102fe2ec448062f6f7507ce205257c76a91a3da.tar.gz
Mdoc(7)ify.
Diffstat (limited to 'sbin/ffsinfo/ffsinfo.8')
-rw-r--r--sbin/ffsinfo/ffsinfo.882
1 files changed, 49 insertions, 33 deletions
diff --git a/sbin/ffsinfo/ffsinfo.8 b/sbin/ffsinfo/ffsinfo.8
index 7c35857..081213c 100644
--- a/sbin/ffsinfo/ffsinfo.8
+++ b/sbin/ffsinfo/ffsinfo.8
@@ -39,14 +39,14 @@
.\"
.Dd September 8, 2000
.Dt FSINFO 8
-.Os BSD 4.4
+.Os
.Sh NAME
.Nm ffsinfo
.Nd dump all meta information of an existing ufs file system
.Sh SYNOPSIS
-.Nm ffsinfo
+.Nm
.Op Fl L
-.Op Fl g Ar cylinder group
+.Op Fl g Ar cylinder_group
.Op Fl i Ar inode
.Op Fl l Ar level
.Op Fl o Ar outfile
@@ -63,34 +63,53 @@ Also expect the output file to be rather large.
Up to 2 percent of the size of the specified filesystem is not uncommon.
.Pp
The following options are available:
-.\".Pp
.Bl -tag -width indent
.It Fl L
Specifying this option skips the tests of the disklabel.
This is done automatically, if the specified filename to dump is a plain file.
-.It Fl g Ar cylinder group
-This restricts the dump to infomation about this cylinder group only.
-Here 0 means the first cylinder group and -1 the last one.
+.It Fl g Ar cylinder_group
+This restricts the dump to information about this cylinder group only.
+Here
+.Ar 0
+means the first cylinder group and
+.Ar -1
+the last one.
.It Fl i Ar inode
-This restrictes the dump to infomation about this particular inode only.
-Here the minimum acceptable inode is 2.
+This restricts the dump to information about this particular inode only.
+Here the minimum acceptable inode is
+.Ar 2 .
If this option is omitted but a cylinder group is defined then only inodes
within that cylinder group are dumped.
.It Fl l Ar level
The level of detail which will be dumped.
-This value defaults to 255 and is the bitwise and of the following table:
-.Bd -literal -offset left
-0x001 - initial superblock
-0x002 - superblock copys in each cylindergroup
-0x004 - cylinder group summary in initial cylinder group
-0x008 - cylinder group information
-0x010 - inode allocation bitmap
-0x020 - fragment allocation bitmap
-0x040 - cluster maps and summary
-0x080 - rotational layout tables
-0x100 - inode information
-0x200 - indirect block dump
-.Ed
+This value defaults to
+.Ar 255
+and is the
+.Dq bitwise or
+of the following table:
+.Pp
+.Bl -hang -width indent -compact
+.It Ar 0x001
+initial superblock
+.It Ar 0x002
+superblock copies in each cylinder group
+.It Ar 0x004
+cylinder group summary in initial cylinder group
+.It Ar 0x008
+cylinder group information
+.It Ar 0x010
+inode allocation bitmap
+.It Ar 0x020
+fragment allocation bitmap
+.It Ar 0x040
+cluster maps and summary
+.It Ar 0x080
+rotational layout tables
+.It Ar 0x100
+inode information
+.It Ar 0x200
+indirect block dump
+.El
.It Fl o Ar outfile
This allows to change the output filename where the dump is written to.
The current default is
@@ -111,27 +130,24 @@ Do not try dumping a mounted file system, your system may panic and you will
not be able to use the file system any longer.
.Pp
Also snapshots are handled like plain files.
-They should get a their own level to provide for independent control of the
+They should get their own level to provide for independent control of the
amount of what gets dumped.
It probably also makes sense to some extend to dump the snapshot as a
filesystem.
.Sh SEE ALSO
-.Xr vinum 8 ,
.Xr disklabel 8 ,
+.Xr dumpfs 8 ,
.Xr fsck 8 ,
+.Xr growfs 8 ,
.Xr newfs 8 ,
.Xr tunefs 8 ,
-.Xr growfs 8 ,
-.Xr dumpfs 8
-.\".Rs
-.\".Re
+.Xr vinum 8
.Sh AUTHORS
-.An Christoph Herrmann Aq chm@FreeBSD.ORG
-.An Thomas-Henning von Kamptz Aq tomsoft@FreeBSD.ORG
+.An Christoph Herrmann Aq chm@FreeBSD.org
+.An Thomas-Henning von Kamptz Aq tomsoft@FreeBSD.org
.An The GROWFS team Aq growfs@Tomsoft.COM
.Sh HISTORY
The
.Nm
-command appeared first in
-.Bx Free
-5.0
+command first appeared in
+.Fx 5.0 .
OpenPOWER on IntegriCloud