public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@gnu.org>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux <util-linux@vger.kernel.org>
Subject: [PATCH 3/3] fibmap: add manpage
Date: Mon, 02 Apr 2012 16:35:52 +0200	[thread overview]
Message-ID: <1333377352.2552.21.camel@offbook> (raw)

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





                 reply	other threads:[~2012-04-02 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1333377352.2552.21.camel@offbook \
    --to=dave@gnu.org \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox