From patchwork Fri Sep 14 06:03:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 1455571 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 0B6FA402E1 for ; Fri, 14 Sep 2012 06:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753592Ab2INGBT (ORCPT ); Fri, 14 Sep 2012 02:01:19 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:33224 "EHLO rcsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751926Ab2INGBS (ORCPT ); Fri, 14 Sep 2012 02:01:18 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8E613up016234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Sep 2012 06:01:03 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8E611Bh019677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Sep 2012 06:01:02 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8E611Tm005903; Fri, 14 Sep 2012 01:01:01 -0500 Received: from localhost.localdomain (/10.186.101.18) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 13 Sep 2012 23:01:00 -0700 From: Anand jain To: linux-btrfs@vger.kernel.org Cc: kreijack@libero.it, chris.mason@fusionio.com, hugo@carfax.org.uk Subject: [PATCH 1/1] Btrfs-progs: Update btrfs man page to indicate label for a mounted fs can be changed Date: Fri, 14 Sep 2012 14:03:19 +0800 Message-Id: <1347602599-7541-1-git-send-email-Anand.Jain@oracle.com> X-Mailer: git-send-email 1.7.7 In-Reply-To: <503FB090.6030108@libero.it> References: <503FB090.6030108@libero.it> X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Anand Jain Signed-off-by: Anand Jain --- man/btrfs.8.in | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 4b0a9f9..0258d87 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -25,7 +25,7 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBfilesystem resize\fP\fI [devid:][+/\-][gkm]|[devid:]max \fP .PP -\fBbtrfs\fP \fBfilesystem label\fP\fI [newlabel]\fP +\fBbtrfs\fP \fBfilesystem label\fP\fI | [newlabel]\fP .PP \fBbtrfs\fP \fBsubvolume find-new\fP\fI \fP .PP @@ -197,8 +197,8 @@ it with the new desired size. When recreating the partition make sure to use the same starting disk cylinder as before. .TP -\fBfilesystem label\fP\fI [newlabel]\fP -Show or update the label of a filesystem. \fI\fR is used to identify the +\fBfilesystem label\fP\fI | [newlabel]\fP +Show or update the label of a filesystem. \fI|\fR is used to identify the filesystem. If a \fInewlabel\fR optional argument is passed, the label is changed. The following constraints exist for a label: @@ -207,11 +207,9 @@ following constraints exist for a label: .IP - the label shall not contain the '/' or '\\' characters. -NOTE: Currently there are the following limitations: -.IP -- the filesystem has to be unmounted -.IP -- the filesystem should not have more than one device. +Note: +As of now a btrfs filesystem containing more than one device must be +mounted to change its filesystem label. .TP \fBfilesystem show\fR [--all-devices||