1*e59ecd76Sdsl.\" $NetBSD: dumpfs.8,v 1.14 2003/08/30 10:30:52 dsl 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. 14326b2259Sagc.\" 3. Neither the name of the University nor the names of its contributors 1561f28255Scgd.\" may be used to endorse or promote products derived from this software 1661f28255Scgd.\" without specific prior written permission. 1761f28255Scgd.\" 1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2161f28255Scgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2861f28255Scgd.\" SUCH DAMAGE. 2961f28255Scgd.\" 300114e805Scgd.\" @(#)dumpfs.8 8.1 (Berkeley) 6/5/93 31346aa5ddScgd.\" 32*e59ecd76Sdsl.Dd August 30, 2003 3361f28255Scgd.Dt DUMPFS 8 34d1407362Sgarbled.Os 3561f28255Scgd.Sh NAME 3661f28255Scgd.Nm dumpfs 3761f28255Scgd.Nd dump file system information 3861f28255Scgd.Sh SYNOPSIS 390dbf4ab9Slukem.Nm 40*e59ecd76Sdsl.Op Fl Fcimsv 41e4ec9e7aSlukem.Ar filesys No \&| Ar device 42e4ec9e7aSlukem.Op Ar \&.\&.\&. 4361f28255Scgd.Sh DESCRIPTION 440dbf4ab9Slukem.Nm 45*e59ecd76Sdslprints out detailed information about the specified filesystems. 46*e59ecd76Sdsl.Pp 47*e59ecd76SdslOptions: 48*e59ecd76Sdsl.Bl -tag -width Ds 49*e59ecd76Sdsl.It Fl F 50*e59ecd76SdslDump a file system image from a file, not a special device. 51*e59ecd76Sdsl.It Fl c 52*e59ecd76SdslPrint details of each cylinder group. 53*e59ecd76Sdsl.It Fl i 54*e59ecd76SdslPrint details of each allocated inode. 55*e59ecd76Sdsl.It Fl m 56*e59ecd76SdslPrint details of the cylinder group summary. 57*e59ecd76Sdsl.It Fl s 58*e59ecd76SdslPrint details of the superblock. 59*e59ecd76Sdsl.It Fl v 60*e59ecd76SdslBe even more verbose. 61*e59ecd76Sdsl.El 62*e59ecd76Sdsl.Pp 63*e59ecd76SdslIf none of 64*e59ecd76Sdsl.Fl c , 65*e59ecd76Sdsl.Fl i , 66*e59ecd76Sdsl.Fl m 67*e59ecd76Sdslor 68*e59ecd76Sdsl.Fl s 69*e59ecd76Sdslare given, then 70*e59ecd76Sdsl.Nm 71*e59ecd76Sdsldefaults to 72*e59ecd76Sdsl.Fl cms . 730dbf4ab9Slukem.Pp 740dbf4ab9Slukem.Nm 750dbf4ab9Slukemis useful mostly for finding out certain file system 760dbf4ab9Slukeminformation such as the file system block size, minimum 770dbf4ab9Slukemfree space percentage, and the file system level that 780dbf4ab9Slukemcan be upgraded with the 790dbf4ab9Slukem.Fl c 800dbf4ab9Slukemoption of 810dbf4ab9Slukem.Xr fsck_ffs 8 . 82*e59ecd76SdslAll of this information is output by 83*e59ecd76Sdsl.Nm 84*e59ecd76Sdsl.Fl s . 8561f28255Scgd.Sh SEE ALSO 8661f28255Scgd.Xr disktab 5 , 870dbf4ab9Slukem.Xr fs 5 , 8861f28255Scgd.Xr disklabel 8 , 890dbf4ab9Slukem.Xr fsck 8 , 90a18d6f19Slukem.Xr fsck_ffs 8 , 9161f28255Scgd.Xr newfs 8 , 920dbf4ab9Slukem.Xr tunefs 8 9361f28255Scgd.Sh HISTORY 9461f28255ScgdThe 9561f28255Scgd.Nm 9661f28255Scgdcommand appeared in 9761f28255Scgd.Bx 4.2 . 98*e59ecd76SdslThe 99*e59ecd76Sdsl.Fl c , 100*e59ecd76Sdsl.Fl i , 101*e59ecd76Sdsl.Fl m 102*e59ecd76Sdsland 103*e59ecd76Sdsl.Fl s 104*e59ecd76Sdsloptions, and the inode dump were added for NetBSD 2.0. 105