From patchwork Wed Feb 17 20:02:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 80024 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1HK3Uk1019139 for ; Wed, 17 Feb 2010 20:03:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754593Ab0BQUD2 (ORCPT ); Wed, 17 Feb 2010 15:03:28 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:48976 "EHLO mail-fx0-f215.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754537Ab0BQUD2 (ORCPT ); Wed, 17 Feb 2010 15:03:28 -0500 Received: by fxm7 with SMTP id 7so9194238fxm.28 for ; Wed, 17 Feb 2010 12:03:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :message-id; bh=9gKmeKJDoHQH5MQfoPMubnmoWT8zdKclv57MA6rqs9g=; b=msMnq/ExqIGqhHbBlQ46ToYJ2e8o+XGxHH0FaEo+VKl52yoDF61N7CqYG1Q93SewAe z8SqdlJEzOOAH5ZJXsVesHfRAmNQTzc2GMXsM29TNTJfrzgOtO4fc2Kf3V1qqsAMcm8+ /MoIKzbAGZ1r9b0KGwPaJT1yAodG+cZIan4XU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:message-id; b=mMxuiCypcKbGmKCftpbqBl7THm/fIy83B/UGIOk7udZA/rEiH7NfRSh4r2hm0pAjrv lvRJylvUNGbdnUwiDJp9m9piqY8HiOc5bcEEod9VhnKZp+uDT0OIbsUOQnNnRa1HULZo qM6i0zuVIywXqYkWSGkaWOnpG7s3zM9Jvw1MA= Received: by 10.223.4.145 with SMTP id 17mr2334103far.17.1266437005341; Wed, 17 Feb 2010 12:03:25 -0800 (PST) Received: from venice.localnet ([87.19.228.249]) by mx.google.com with ESMTPS id 26sm1936291fks.7.2010.02.17.12.03.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Feb 2010 12:03:24 -0800 (PST) From: Goffredo Baroncelli To: linux-btrfs@vger.kernel.org Subject: [PATCH 2/2 V2] btrfs, a new tool to manage a btrfs filesystem; man page Date: Wed, 17 Feb 2010 21:02:35 +0100 User-Agent: KMail/1.13.0 (Linux/2.6.32-10-generic; KDE/4.4.0; x86_64; ; ) Cc: Daniel J Blueman MIME-Version: 1.0 Message-Id: <201002172102.35886.kreijack@inwind.it> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 17 Feb 2010 20:03:30 +0000 (UTC) diff --git a/man/Makefile b/man/Makefile index 4e8893b..4a90b75 100644 --- a/man/Makefile +++ b/man/Makefile @@ -7,13 +7,16 @@ mandir = $(prefix)/man man8dir = $(mandir)/man8 MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz \ - btrfs-show.8.gz + btrfs-show.8.gz btrfs.8.gz all: $(MANPAGES) mkfs.btrfs.8.gz: mkfs.btrfs.8.in $(GZIP) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz +btrfs.8.gz: btrfs.8.in + $(GZIP) -n -c btrfs.8.in > btrfs.8.gz + btrfsctl.8.gz: btrfsctl.8.in $(GZIP) -n -c btrfsctl.8.in > btrfsctl.8.gz diff --git a/man/btrfs.8.in b/man/btrfs.8.in new file mode 100644 index 0000000..31d3850 --- /dev/null +++ b/man/btrfs.8.in @@ -0,0 +1,122 @@ +.TH BTRFS 8 "" "btrfs" "btrfs" +.\" +.\" Man page written by Goffredo Baroncelli (Feb 2010) +.\" +.SH NAME +btrfs \- control a btrfs filesystem +.SH SYNOPSIS +\fBbtrfs\fP \fB snapshot|\-s \fP\fI [/]\fP +.PP +\fBbtrfs\fP \fB delete|\-D \fP\fI \fP +.PP +\fBbtrfs\fP \fB subvolume|\-c \fP\fI [/]\fP +.PP +\fBbtrfs\fP \fB defrag|\-f \fP\fI | [|...]\fP +.PP +\fBbtrfs\fP \fB fssync|\-y \fP\fI \fP +.PP +\fBbtrfs\fP \fB resize|\-z \fP\fI [+/\-][gkm]|max \fP +.PP +\fBbtrfs\fP \fB scan|\-n \fP\fI [ [..]]\fP +.PP +\fBbtrfs\fP \fB show|\-l \fP\fI |