summaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs/dumpfs.8
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2003-01-19 10:25:11 +0000
committerjmallett <jmallett@FreeBSD.org>2003-01-19 10:25:11 +0000
commit49b60b2ebe504ba8584d684a66b1351307a962cf (patch)
treed2139639c3b9eb491b771fc861afc9d02753ca6a /sbin/dumpfs/dumpfs.8
parenta2409464e746bf354b17be1296bf4b3e38fd0182 (diff)
downloadFreeBSD-src-49b60b2ebe504ba8584d684a66b1351307a962cf.zip
FreeBSD-src-49b60b2ebe504ba8584d684a66b1351307a962cf.tar.gz
Add support to marshal a filesystem to a newfs(8) command that could be used
to create it. A small number of options are not marshalled as they are things it would be dumb to spit out, as they are used by internal computations, and newfs may change them, or they may not be directly apparent.
Diffstat (limited to 'sbin/dumpfs/dumpfs.8')
-rw-r--r--sbin/dumpfs/dumpfs.813
1 files changed, 11 insertions, 2 deletions
diff --git a/sbin/dumpfs/dumpfs.8 b/sbin/dumpfs/dumpfs.8
index 8c26724..6032acd 100644
--- a/sbin/dumpfs/dumpfs.8
+++ b/sbin/dumpfs/dumpfs.8
@@ -32,7 +32,7 @@
.\" @(#)dumpfs.8 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd June 5, 1993
+.Dd January 19, 2003
.Dt DUMPFS 8
.Os
.Sh NAME
@@ -40,16 +40,25 @@
.Nd dump file system information
.Sh SYNOPSIS
.Nm
+.Op Fl m
.Op Ar filesys No \&| Ar device
.Sh DESCRIPTION
The
.Nm
utility prints out the super block and cylinder group information
-for the file system or special device specified.
+for the file system or special device specified, unless
+.Fl m
+is specified.
The listing is very long and detailed. This
command is useful mostly for finding out certain file system
information such as the file system block size and minimum
free space percentage.
+.Pp
+If
+.Fl m
+is specified, the filesystem is marshalled in terms of a
+.Xr newfs 8
+command to generate the filesystem.
.Sh SEE ALSO
.Xr disktab 5 ,
.Xr fs 5 ,
OpenPOWER on IntegriCloud