xref: /netbsd/usr.sbin/dumpfs/dumpfs.8 (revision e4ec9e7a)
1*e4ec9e7aSlukem.\"	$NetBSD: dumpfs.8,v 1.10 2001/08/14 01:02:02 lukem Exp $
20114e805Scgd.\"
3ccfa3742Smycroft.\" Copyright (c) 1983, 1991, 1993
4ccfa3742Smycroft.\"	The Regents of the University of California.  All rights reserved.
561f28255Scgd.\"
661f28255Scgd.\" Redistribution and use in source and binary forms, with or without
761f28255Scgd.\" modification, are permitted provided that the following conditions
861f28255Scgd.\" are met:
961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright
1061f28255Scgd.\"    notice, this list of conditions and the following disclaimer.
1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
1261f28255Scgd.\"    notice, this list of conditions and the following disclaimer in the
1361f28255Scgd.\"    documentation and/or other materials provided with the distribution.
1461f28255Scgd.\" 3. All advertising materials mentioning features or use of this software
1561f28255Scgd.\"    must display the following acknowledgement:
1661f28255Scgd.\"	This product includes software developed by the University of
1761f28255Scgd.\"	California, Berkeley and its contributors.
1861f28255Scgd.\" 4. Neither the name of the University nor the names of its contributors
1961f28255Scgd.\"    may be used to endorse or promote products derived from this software
2061f28255Scgd.\"    without specific prior written permission.
2161f28255Scgd.\"
2261f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2361f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2461f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2561f28255Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2661f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2761f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2861f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2961f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3061f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3161f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3261f28255Scgd.\" SUCH DAMAGE.
3361f28255Scgd.\"
340114e805Scgd.\"     @(#)dumpfs.8	8.1 (Berkeley) 6/5/93
35346aa5ddScgd.\"
36*e4ec9e7aSlukem.Dd August 14, 2001
3761f28255Scgd.Dt DUMPFS 8
38d1407362Sgarbled.Os
3961f28255Scgd.Sh NAME
4061f28255Scgd.Nm dumpfs
4161f28255Scgd.Nd dump file system information
4261f28255Scgd.Sh SYNOPSIS
430dbf4ab9Slukem.Nm
44*e4ec9e7aSlukem.Op Fl F
45*e4ec9e7aSlukem.Ar filesys No \&| Ar device
46*e4ec9e7aSlukem.Op Ar \&.\&.\&.
4761f28255Scgd.Sh DESCRIPTION
480dbf4ab9Slukem.Nm
4961f28255Scgdprints out the super block and cylinder group information
50*e4ec9e7aSlukemfor the specified file systems or special devices, or if
51*e4ec9e7aSlukem.Fl F
52*e4ec9e7aSlukemis used, file system images (in regular files).
530dbf4ab9SlukemThe listing is very long and detailed.
540dbf4ab9Slukem.Pp
550dbf4ab9Slukem.Nm
560dbf4ab9Slukemis useful mostly for finding out certain file system
570dbf4ab9Slukeminformation such as the file system block size, minimum
580dbf4ab9Slukemfree space percentage, and the file system level that
590dbf4ab9Slukemcan be upgraded with the
600dbf4ab9Slukem.Fl c
610dbf4ab9Slukemoption of
620dbf4ab9Slukem.Xr fsck_ffs 8 .
630dbf4ab9SlukemAll of this information can be found within the first twenty
640dbf4ab9Slukemlines of the output.
6561f28255Scgd.Sh SEE ALSO
6661f28255Scgd.Xr disktab 5 ,
670dbf4ab9Slukem.Xr fs 5 ,
6861f28255Scgd.Xr disklabel 8 ,
690dbf4ab9Slukem.Xr fsck 8 ,
70a18d6f19Slukem.Xr fsck_ffs 8 ,
7161f28255Scgd.Xr newfs 8 ,
720dbf4ab9Slukem.Xr tunefs 8
7361f28255Scgd.Sh HISTORY
7461f28255ScgdThe
7561f28255Scgd.Nm
7661f28255Scgdcommand appeared in
7761f28255Scgd.Bx 4.2 .
78