From patchwork Mon Sep 13 19:23:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 175382 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8DJL2ZF002321 for ; Mon, 13 Sep 2010 19:21:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754640Ab0IMTVA (ORCPT ); Mon, 13 Sep 2010 15:21:00 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:61059 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752780Ab0IMTU7 (ORCPT ); Mon, 13 Sep 2010 15:20:59 -0400 Received: by bwz11 with SMTP id 11so4780380bwz.19 for ; Mon, 13 Sep 2010 12:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :message-id; bh=bbGgl+GRahF4Xi/ODfaaxqoRQy649OAIkpg9u2CrFiM=; b=koHklquCPsCd0jGmZ6jA2D483BTOep36Mfvv3kck3B4OnO+4abogVlOz21eoMtIQb1 SszNTL3bt/QK40dGvX+N998HwoKEyZtyr8RRflZnILZq1bWuhIllW7UHGDpzrBr/GWQ6 bYsEjh9SbsosGo9fErCY3WGgayHVz92vAHkcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:mime-version :content-type:content-transfer-encoding:message-id; b=cu6Y1+0jLq1mshG5EJoGiI/+CD6chVCWEnDm/TtkJi7IWm8IiLz4yTN7CW5TEQDzY9 21j5AosSRWK784m3YwLFjHKjQVskPKjZPKj6ppERD8UhpxEtALmpmdf0arg/WvbHJ3wf L7jOWy9mXV+rT3rjea5wnBC6ms0eg0oqe51pY= Received: by 10.204.163.69 with SMTP id z5mr3464829bkx.167.1284405657124; Mon, 13 Sep 2010 12:20:57 -0700 (PDT) Received: from venice.localnet ([87.19.231.7]) by mx.google.com with ESMTPS id s34sm4973648bkk.13.2010.09.13.12.20.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 12:20:55 -0700 (PDT) From: Goffredo Baroncelli Reply-To: kreijack@libero.it To: linux-btrfs@vger.kernel.org, Chris Mason Subject: [PATCH][btrfs progs] Update/clean up btrfs help and man page Date: Mon, 13 Sep 2010 21:23:54 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-trunk-amd64; KDE/4.4.5; x86_64; ; ) Cc: Andreas Philipp MIME-Version: 1.0 Message-Id: <201009132124.09118.kreijack@libero.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 (demeter1.kernel.org [140.211.167.41]); Mon, 13 Sep 2010 19:21:02 +0000 (UTC) diff --git a/btrfs.c b/btrfs.c index ab5e57f..1816597 100644 --- a/btrfs.c +++ b/btrfs.c @@ -61,6 +61,11 @@ static struct Command commands[] = { { do_subvol_list, 1, "subvolume list", "\n" "List the snapshot/subvolume of a filesystem." }, + { do_set_default_subvol, 2, + "subvolume set-default", " \n" + "Set the subvolume of the filesystem which will be mounted\n" + "as default." + }, { do_find_newer, 2, "subvolume find-new", " \n" "List the recently modified files in a filesystem." }, @@ -68,11 +73,6 @@ static struct Command commands[] = { "filesystem defragment", "[-vcf] [-s start] [-l len] [-t size] | [|...]\n" "Defragment a file or a directory." }, - { do_set_default_subvol, 2, - "subvolume set-default", " \n" - "Set the subvolume of the filesystem which will be mounted\n" - "as default." - }, { do_fssync, 1, "filesystem sync", "\n" "Force a sync on the filesystem ." @@ -89,7 +89,7 @@ static struct Command commands[] = { }, { do_df_filesystem, 1, "filesystem df", "\n" - "Show space usage information for a mount point\n." + "Show space usage information for a mount point." }, { do_balance, 1, "filesystem balance", "\n" diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 26ef982..249426c 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -15,6 +15,10 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBsubvolume set-default\fP\fI \fP .PP +\fBbtrfs\fP \fBsubvolume find-new\fP\fI \fP +.PP +\fBbtrfs\fP \fBfilesystem balance\fP\fI \fP +.PP \fBbtrfs\fP \fBfilesystem defrag\fP\fI | [|...]\fP .PP \fBbtrfs\fP \fBfilesystem sync\fP\fI \fP @@ -25,8 +29,6 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBdevice show\fP\fI |