From patchwork Wed Aug 8 08:54:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhoubo X-Patchwork-Id: 1293251 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 563573FD8D for ; Wed, 8 Aug 2012 08:55:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932564Ab2HHIzM (ORCPT ); Wed, 8 Aug 2012 04:55:12 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:34738 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S932509Ab2HHIzJ (ORCPT ); Wed, 8 Aug 2012 04:55:09 -0400 X-IronPort-AV: E=Sophos;i="4.77,732,1336320000"; d="scan'208";a="5579873" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 08 Aug 2012 16:54:07 +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 q788t8JN010157; Wed, 8 Aug 2012 16:55:08 +0800 Received: from localhost.localdomain ([10.167.225.128]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2012080816552996-197707 ; Wed, 8 Aug 2012 16:55:29 +0800 Message-ID: <5022295E.9050503@cn.fujitsu.com> Date: Wed, 08 Aug 2012 16:54:54 +0800 From: zhoubo User-Agent: Thunderbird 2.0.0.17 (X11/20081009) MIME-Version: 1.0 To: btrfs community CC: Goffredo Baroncelli Subject: [PATCH 3/3 V2] Btrfs-progs: update the manpage entries for the btrfs subvolume list X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/08/08 16:55:29, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/08/08 16:55:30, Serialize complete at 2012/08/08 16:55:30 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 --- 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