From patchwork Thu Sep 6 10:59:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miao Xie X-Patchwork-Id: 1413051 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id ED85D3FC71 for ; Thu, 6 Sep 2012 10:59:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758078Ab2IFK7e (ORCPT ); Thu, 6 Sep 2012 06:59:34 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:24859 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1756453Ab2IFK7e (ORCPT ); Thu, 6 Sep 2012 06:59:34 -0400 X-IronPort-AV: E=Sophos;i="4.80,380,1344182400"; d="scan'208";a="5797157" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 06 Sep 2012 18:58:21 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id q86AxWcI020157 for ; Thu, 6 Sep 2012 18:59:33 +0800 Received: from [10.167.225.199] ([10.167.225.199]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2012090618590866-671235 ; Thu, 6 Sep 2012 18:59:08 +0800 Message-ID: <50488207.30308@cn.fujitsu.com> Date: Thu, 06 Sep 2012 18:59:19 +0800 From: Miao Xie Reply-To: miaox@cn.fujitsu.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Linux Btrfs Subject: [PATCH V3 7/7] Btrfs-progs: update the manpage entries for the btrfs subvolume list References: <50487FFB.6020103@cn.fujitsu.com> In-Reply-To: <50487FFB.6020103@cn.fujitsu.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/09/06 18:59:08, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/09/06 18:59:08, Serialize complete at 2012/09/06 18:59:08 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Zhou Bo This patch adds the introduction of the new option '-r' into the man page of 'btrfs subvolume list' command. Signed-off-by: Zhou Bo --- Sorry, forgot to add "From: xxxx", so re-send this patch. Changelog v2 -> v3: - No change. Changelog v1 -> v2: - new patch --- man/btrfs.8.in | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 4b0a9f9..0845b4d 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -11,7 +11,7 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBsubvolume create\fP\fI [/]\fP .PP -\fBbtrfs\fP \fBsubvolume list\fP\fI [-p] \fP +\fBbtrfs\fP \fBsubvolume list\fP\fI [-pr] \fP .PP \fBbtrfs\fP \fBsubvolume set-default\fP\fI \fP .PP @@ -108,7 +108,7 @@ Create a subvolume in \fI\fR (or in the current directory if \fI\fR is omitted). .TP -\fBsubvolume list\fR\fI [-p] \fR +\fBsubvolume list\fR\fI [-pr] \fR List the subvolumes present in the filesystem \fI\fR. For every subvolume the following information is shown by default. ID top level path @@ -119,6 +119,7 @@ at mount time via the \fIsubvol=\fR option. If \fI-p\fR is given, then \fIparent \fR is added to the output between ID and top level. The parent's ID may be used at mount time via the \fIsubvolrootid=\fR option. +If \fI-r\fR is given, only readonly subvolumes in the filesystem will be listed. .TP \fBsubvolume set-default\fR\fI \fR