From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 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 MIME-Version: 1.0 To: Linux Btrfs Subject: [PATCH V3 7/7] Btrfs-progs: update the manpage entries for the btrfs subvolume list Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: In-Reply-To: <50487F6E.6060001@cn.fujitsu.com> 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 -- 1.7.6.5