From patchwork Sat Nov 16 17:09:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 3192951 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 13D6B9F3AE for ; Sat, 16 Nov 2013 17:09:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 37978207BF for ; Sat, 16 Nov 2013 17:09:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F29420233 for ; Sat, 16 Nov 2013 17:09:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752423Ab3KPRJc (ORCPT ); Sat, 16 Nov 2013 12:09:32 -0500 Received: from mail-we0-f174.google.com ([74.125.82.174]:35619 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751901Ab3KPRJR (ORCPT ); Sat, 16 Nov 2013 12:09:17 -0500 Received: by mail-we0-f174.google.com with SMTP id t61so4688979wes.19 for ; Sat, 16 Nov 2013 09:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6XONqb0h4TmBiDQt70XI/DV+IcW7LSNPfX7bdT/QxJ4=; b=KZrluvkdkOWDIaH9LpKjfjuZsv/7ZnjUwoVRgSduSZ0bvaprwULERXKKofFtVM6VSi iEOVOvblvbNWo/48u9LfnRTuGNm/lyfuDSKvuR++BO3Pe7+CC/W31v3ekicXoOvtn+pP ciBLSa9E8N0EoyDN0sxslqOTAshnpPa/7C/dbYighEgF3ksdWeLvKHpP8n4o/r+hrFhi WDC+oJWCr5IiaBtmuK7E/hNMOW56igExTA811kzH8voPt4iyOiuYZ2ZgnduF+BpACwB3 8r1SnMzacEVpenFXPjoexmLkPpNDxC+OCkmvINdNkC1LXwxzIHJqXMt0HK3QFfLmd+PM bumA== X-Received: by 10.194.1.139 with SMTP id 11mr10583069wjm.33.1384621756767; Sat, 16 Nov 2013 09:09:16 -0800 (PST) Received: from venice.bhome (ppp-80-52.24-151.libero.it. [151.24.52.80]) by mx.google.com with ESMTPSA id e1sm6584799wij.6.2013.11.16.09.09.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Nov 2013 09:09:16 -0800 (PST) From: Goffredo Baroncelli To: linux-btrfs@vger.kernel.org Cc: Goffredo Baroncelli Subject: [PATCH 7/7] Document the -R switch for the "btrfs subvolume delete" command. Date: Sat, 16 Nov 2013 18:09:07 +0100 Message-Id: <1384621747-25441-8-git-send-email-kreijack@inwind.it> X-Mailer: git-send-email 1.8.4.3 In-Reply-To: <1384621747-25441-1-git-send-email-kreijack@inwind.it> References: <1384621747-25441-1-git-send-email-kreijack@inwind.it> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Goffredo Baroncelli --- man/btrfs.8.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index aee1f70..5ed5277 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -8,7 +8,7 @@ btrfs \- control a btrfs filesystem .SH SYNOPSIS \fBbtrfs\fP \fBsubvolume create\fP [-i \fI\fP] [\fI\fP/]\fI\fP .PP -\fBbtrfs\fP \fBsubvolume delete\fP \fI\fP [\fI...\fP] +\fBbtrfs\fP \fBsubvolume delete\fP [-R] \fI\fP [\fI...\fP] .PP \fBbtrfs\fP \fBsubvolume list\fP [\fIoptions\fP] [-G [+|-]\fIvalue\fP] [-C [+|-]\fIvalue\fP] [--sort=rootid,gen,ogen,path] \fI\fP .PP @@ -168,9 +168,12 @@ times. .RE .TP -\fBsubvolume delete\fR\fI \fP[\fI...\fP]\fR +\fBsubvolume delete\fR [-R] \fI \fP[\fI...\fP]\fR Delete the subvolume \fI\fR. If \fI\fR is not a subvolume, \fBbtrfs\fR returns an error. +If \fI-R\fR is given, the subvolumes were removed recursively (otherwise it is +not possible to remove a subvolume with a nested one); the -R switch requires +the root capability. .TP \fBsubvolume list\fR [\fIoptions\fP] [-G [+|-]\fIvalue\fP] [-C [+|-]\fIvalue\fP] [--sort=rootid,gen,ogen,path] \fI\fR