public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Goldwyn Rodrigues <rgoldwyn@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: [btrfs-progs 3/4] Add man/btrfsck.8.in and Makefile for man pages
Date: Tue, 13 Jan 2009 18:20:03 +0530	[thread overview]
Message-ID: <20090113125003.GA15217@baloo.junglebook> (raw)


Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com>
---
 man/Makefile     |   27 +++++++++++++++++++++++++++
 man/btrfsck.8.in |   17 +++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100644 man/Makefile
 create mode 100644 man/btrfsck.8.in

diff --git a/man/Makefile b/man/Makefile
new file mode 100644
index 0000000..2665dd1
--- /dev/null
+++ b/man/Makefile
@@ -0,0 +1,27 @@
+GZIP=gzip
+INSTALL= install
+
+prefix ?= /usr/local
+bindir = $(prefix)/bin
+mandir = $(prefix)/man
+man8dir = $(mandir)/man8
+
+MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz
+
+all: $(MANPAGES)
+
+mkfs.btrfs.8.gz: mkfs.btrfs.8.in
+	$(GZIP) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz
+
+btrfsctl.8.gz: btrfsctl.8.in
+	$(GZIP) -n -c btrfsctl.8.in > btrfsctl.8.gz
+
+btrfsck.8.gz: btrfsck.8.in
+	$(GZIP) -n -c btrfsck.8.in > btrfsck.8.gz
+
+clean :
+	rm -f $(MANPAGES)
+
+install: $(MANPAGES)
+	$(INSTALL) -m755 -d $(DESTDIR)$(man8dir)
+	$(INSTALL) -m 644 $(MANPAGES) $(DESTDIR)$(man8dir)
diff --git a/man/btrfsck.8.in b/man/btrfsck.8.in
new file mode 100644
index 0000000..63a0039
--- /dev/null
+++ b/man/btrfsck.8.in
@@ -0,0 +1,17 @@
+.TH BTRFSCK 8 
+.SH NAME
+btrfsck \- check a btrfs filesystem
+.SH SYNOPSIS
+.B btrfsck \fI device\fP
+.SH DESCRIPTION
+\fBbtrfsck\fP is used to check a btrfs filesystem.
+\fIdevice\fP is the device file where the filesystem is stored.
+.SH AVAILABILITY
+.B btrfsck
+is part of btrfs-progs. Btrfs is currently under heavy development, 
+and not suitable for for any uses other than benchmarking and review. 
+Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for 
+further details.
+.SH SEE ALSO
+.BR mkfs.btrfs (8)
+.BR btrfsctl (8)
-- 
1.6.0.2


-- 
Goldwyn

                 reply	other threads:[~2009-01-13 12:50 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=20090113125003.GA15217@baloo.junglebook \
    --to=rgoldwyn@gmail.com \
    --cc=linux-btrfs@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