From patchwork Sat Nov 16 17:09:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 3192961 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 8B62D9F3AE for ; Sat, 16 Nov 2013 17:09:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AA118207BF for ; Sat, 16 Nov 2013 17:09:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF8C520233 for ; Sat, 16 Nov 2013 17:09:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752520Ab3KPRJe (ORCPT ); Sat, 16 Nov 2013 12:09:34 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:50882 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400Ab3KPRJR (ORCPT ); Sat, 16 Nov 2013 12:09:17 -0500 Received: by mail-wg0-f46.google.com with SMTP id x12so4620016wgg.1 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=MGv9kBYAKg1YXCOIt2NVa6aehidsGLvVKuwZo3MHE8s=; b=QrM3hcKZ6uqr5nukM4/JgTy2mDpI0A+onG0pV7ycW1l4Cc/RY5xEKL8e74EAEgPTjm 6+oxhTNXRL4nPxG09Z/H043DfU3aAR0CWAeaBEbvT80o0YQYjwDV8/nW+V/xeUBNsc8x U94cLn53zhosGPzK3+ZDpXbfWUD7cnWhdVjLU0HPXg6/9S1I32wyxBg2NVBX6QmZh0yH O3Io9q6redNnLvIbqXnOAPBO9VYg+YvTGvPpjsGYMpu/AEkoiTgO9Dy5p204lf75DhuQ RwMbF6gmSF32FENmp0gSuF7WInUzaUI96TyTeLpby3fIA8yS8GQAmdCNOG89MVsDPoCI yJzQ== X-Received: by 10.180.36.80 with SMTP id o16mr11313846wij.1.1384621756289; 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.15 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 6/7] btrfs subvolume snapshot -R: update man page Date: Sat, 16 Nov 2013 18:09:06 +0100 Message-Id: <1384621747-25441-7-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 Update man page of "btrfs subvolume snapshot", documenting the -R switch. Signed-off-by: Goffredo Baroncelli --- man/btrfs.8.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index b620348..aee1f70 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -12,7 +12,7 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBsubvolume list\fP [\fIoptions\fP] [-G [+|-]\fIvalue\fP] [-C [+|-]\fIvalue\fP] [--sort=rootid,gen,ogen,path] \fI\fP .PP -\fBbtrfs\fP \fBsubvolume snapshot\fP [-r] \fI\fP \fI\fP|[\fI\fP/]\fI\fP +\fBbtrfs\fP \fBsubvolume snapshot\fP [-r][-R] \fI\fP \fI\fP|[\fI\fP/]\fI\fP .PP \fBbtrfs\fP \fBsubvolume get-default\fP\fI \fP .PP @@ -227,12 +227,14 @@ for \fB--sort\fP you can combine some items together by ',', just like .RE .TP -\fBsubvolume snapshot\fP [-r] \fI\fP \fI\fP|[\fI\fP/]\fI\fP +\fBsubvolume snapshot\fP [-r][-R] \fI\fP \fI\fP|[\fI\fP/]\fI\fP Create a writable/readonly snapshot of the subvolume \fI\fR with the name \fI\fR in the \fI\fR directory. If only \fI\fR is given, the subvolume will be named the basename of \fI\fR. If \fI\fR is not a subvolume, \fBbtrfs\fR returns an error. If \fI-r\fR is given, the snapshot will be readonly. +If \fI-R\fR is given, the snapshot will be made recursively. \fI-R\fR and +\fI-r\fR cannot be used togheter. The -R switch requires the root capability. .TP \fBsubvolume get-default\fR\fI \fR