From patchwork Tue Sep 18 11:12:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miao Xie X-Patchwork-Id: 1472021 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 2753EDF24C for ; Tue, 18 Sep 2012 11:12:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757951Ab2IRLML (ORCPT ); Tue, 18 Sep 2012 07:12:11 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:33439 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1757156Ab2IRLMK (ORCPT ); Tue, 18 Sep 2012 07:12:10 -0400 X-IronPort-AV: E=Sophos;i="4.80,443,1344182400"; d="scan'208";a="5864976" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 18 Sep 2012 19:10:52 +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 q8IBC87Z017050 for ; Tue, 18 Sep 2012 19:12:08 +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 2012091819122567-907783 ; Tue, 18 Sep 2012 19:12:25 +0800 Message-ID: <50585707.9010009@cn.fujitsu.com> Date: Tue, 18 Sep 2012 19:12:07 +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 V4 7/7] Btrfs-progs: update the manpage entries for the btrfs subvolume list References: <50584E6D.8000602@cn.fujitsu.com> In-Reply-To: <50584E6D.8000602@cn.fujitsu.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/09/18 19:12:25, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/09/18 19:12:25, Serialize complete at 2012/09/18 19:12:25 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 Signed-off-by: Miao Xie --- Changelog v3 -> v4: - No change. 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