2004-01-04 00:05:21 +03:00
|
|
|
.\" $NetBSD: dumpfs.8,v 1.18 2004/01/03 21:05:21 wiz Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
.\"
|
1994-06-08 22:57:30 +04:00
|
|
|
.\" Copyright (c) 1983, 1991, 1993
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
2003-08-07 15:25:11 +04:00
|
|
|
.\" 3. Neither the name of the University nor the names of its contributors
|
1993-03-21 12:45:37 +03:00
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1995-03-18 17:54:19 +03:00
|
|
|
.\" @(#)dumpfs.8 8.1 (Berkeley) 6/5/93
|
1993-03-22 11:04:00 +03:00
|
|
|
.\"
|
2004-01-04 00:05:21 +03:00
|
|
|
.Dd January 3, 2004
|
1993-03-21 12:45:37 +03:00
|
|
|
.Dt DUMPFS 8
|
1999-03-22 21:43:46 +03:00
|
|
|
.Os
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm dumpfs
|
|
|
|
.Nd dump file system information
|
|
|
|
.Sh SYNOPSIS
|
1997-04-26 09:41:32 +04:00
|
|
|
.Nm
|
2003-09-26 11:02:43 +04:00
|
|
|
.Op Fl acFimsv
|
2001-08-14 05:02:02 +04:00
|
|
|
.Ar filesys No \&| Ar device
|
2003-08-30 16:48:01 +04:00
|
|
|
.Op Ar ...
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh DESCRIPTION
|
1997-04-26 09:41:32 +04:00
|
|
|
.Nm
|
2003-08-30 14:30:52 +04:00
|
|
|
prints out detailed information about the specified filesystems.
|
|
|
|
.Pp
|
|
|
|
Options:
|
|
|
|
.Bl -tag -width Ds
|
2003-09-26 11:02:43 +04:00
|
|
|
.It Fl a
|
|
|
|
Print details from each alternate superblock.
|
2003-08-30 14:30:52 +04:00
|
|
|
.It Fl c
|
|
|
|
Print details of each cylinder group.
|
2003-08-30 16:48:01 +04:00
|
|
|
.It Fl F
|
|
|
|
Dump a file system image from a file, not a special device.
|
2003-08-30 14:30:52 +04:00
|
|
|
.It Fl i
|
|
|
|
Print details of each allocated inode.
|
|
|
|
.It Fl m
|
|
|
|
Print details of the cylinder group summary.
|
|
|
|
.It Fl s
|
|
|
|
Print details of the superblock.
|
|
|
|
.It Fl v
|
|
|
|
Be even more verbose.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
If none of
|
2003-09-26 11:02:43 +04:00
|
|
|
.Fl a ,
|
2003-08-30 14:30:52 +04:00
|
|
|
.Fl c ,
|
|
|
|
.Fl i ,
|
2003-08-30 16:48:01 +04:00
|
|
|
.Fl m ,
|
2003-08-30 14:30:52 +04:00
|
|
|
or
|
|
|
|
.Fl s
|
|
|
|
are given, then
|
|
|
|
.Nm
|
|
|
|
defaults to
|
2004-01-03 22:32:58 +03:00
|
|
|
.Fl cmsv .
|
1997-04-26 09:41:32 +04:00
|
|
|
.Pp
|
|
|
|
.Nm
|
|
|
|
is useful mostly for finding out certain file system
|
|
|
|
information such as the file system block size, minimum
|
|
|
|
free space percentage, and the file system level that
|
|
|
|
can be upgraded with the
|
|
|
|
.Fl c
|
2002-01-19 06:10:26 +03:00
|
|
|
option of
|
1997-04-26 09:41:32 +04:00
|
|
|
.Xr fsck_ffs 8 .
|
2003-08-30 14:30:52 +04:00
|
|
|
All of this information is output by
|
|
|
|
.Nm
|
|
|
|
.Fl s .
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr disktab 5 ,
|
1997-04-26 09:41:32 +04:00
|
|
|
.Xr fs 5 ,
|
1993-03-21 12:45:37 +03:00
|
|
|
.Xr disklabel 8 ,
|
1997-04-26 09:41:32 +04:00
|
|
|
.Xr fsck 8 ,
|
1997-05-08 03:19:03 +04:00
|
|
|
.Xr fsck_ffs 8 ,
|
1993-03-21 12:45:37 +03:00
|
|
|
.Xr newfs 8 ,
|
1997-04-26 09:41:32 +04:00
|
|
|
.Xr tunefs 8
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command appeared in
|
|
|
|
.Bx 4.2 .
|
2003-08-30 14:30:52 +04:00
|
|
|
The
|
2003-09-26 11:02:43 +04:00
|
|
|
.Fl a ,
|
2003-08-30 14:30:52 +04:00
|
|
|
.Fl c ,
|
|
|
|
.Fl i ,
|
2003-08-30 16:48:01 +04:00
|
|
|
.Fl m ,
|
2003-08-30 14:30:52 +04:00
|
|
|
and
|
|
|
|
.Fl s
|
2003-08-30 16:48:01 +04:00
|
|
|
options, and the inode dump were added for
|
|
|
|
.Nx 2.0 .
|