public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] fibmap: add manpage
@ 2012-04-02 14:35 Davidlohr Bueso
  0 siblings, 0 replies; only message in thread
From: Davidlohr Bueso @ 2012-04-02 14:35 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux

From: Davidlohr Bueso <dave@gnu.org>

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 sys-utils/fibmap.8 |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)
 create mode 100644 sys-utils/fibmap.8

diff --git a/sys-utils/fibmap.8 b/sys-utils/fibmap.8
new file mode 100644
index 0000000..5a85dbc
--- /dev/null
+++ b/sys-utils/fibmap.8
@@ -0,0 +1,60 @@
+.\" fibmap.8 --
+.\" Copyright 2012 Davidlohr Bueso <dave@gnu.org>
+.\" May be distributed under the GNU General Public License
+
+.TH FIBMAP 8 "April 2012" "util-linux" "System Administration"
+.SH NAME
+fibmap \-
+get a file/filesystem block layout and fragmentation information.
+.SH SYNOPSIS
+.B fibmap
+.RB [options]
+.RB file/directory
+
+.SH DESCRIPTION
+The \fBfibmap\fP command displays a given file or filesystem fragmentation and block layout information.
+It does not depend on a specific filesystem or block size.
+
+.SH OPTIONS
+.IP "\fB\-f, \-\-fragonly\fP"
+Show only fragmented files.
+.IP "\fB\-m, \-\-map\fP"
+Show block map for a given file.
+.IP "\fB\-s, \-\-stat\fP"
+Show fragmentation statistics, mostly for directories and not individual files.
+.IP "\fB\-h, \-\-help\fP"
+Print a help text and exit.
+.IP "\fB\-o, \-\-output \fIlist\fP"
+Specify which output columns to print. Use
+.B "--help"
+to get a list of all supported columns.
+.IP "\fB\-n, \-\-noheadings\fP"
+Do not print a header line.
+.IP "\fB\-r, \-\-raw\fP"
+Use the raw output format.
+
+.RE
+.SH EXAMPLES
+.IP "\fBfibmap \-\-stat /home\fP"
+Display fragmentation statistics for /home partition.
+.IP "\fBfibmap \-\-fragonly .\fP"
+Display only fragmented files in the current directory.
+.IP "\fBfibmap \-\-map test.img bsd.img\fP"
+Display block map for test.img and bsd.img image files.
+
+.SH "SEE ALSO"
+.BR hdparam (8)
+.BR filefrag (8)
+
+.SH NOTES
+.nf
+The fibmap ioctl, and thus this command, requires root superuser permission.
+.fi
+
+.SH AUTHORS
+.nf
+Davidlohr Bueso <dave@gnu.org>
+.fi
+.SH AVAILABILITY
+The fibmap command is part of the util-linux package and is available from
+ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
-- 
1.7.4.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-02 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 14:35 [PATCH 3/3] fibmap: add manpage Davidlohr Bueso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox