From patchwork Tue Apr 26 08:02:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Philipp X-Patchwork-Id: 731812 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3Q83NcB031249 for ; Tue, 26 Apr 2011 08:03:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758444Ab1DZIDS (ORCPT ); Tue, 26 Apr 2011 04:03:18 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:37061 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753372Ab1DZIDM (ORCPT ); Tue, 26 Apr 2011 04:03:12 -0400 Received: by mail-wy0-f174.google.com with SMTP id 21so238052wya.19 for ; Tue, 26 Apr 2011 01:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=4ceV7ioZ1fOZdoiZL3CCWH04kBSNOXMrC6RUPhw7Ab4=; b=hyjOfS+DyBm+Mbfs+8A6YolJhoTUvVKTEK0tVcge28XPtcLCtR/sJWg/b0G99YZfkq FwsUlH4Bn51LhexlNCccwEKr6bF+fBvEWRJjU2+DFTREHCoYuoUyQlv33H5XKnbSuoln w6v9f6GIpQNoP1I2UQ/gk0gEDIZDACp6N63rs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Di4ybt6TZE7bKtPp7/T0gqP9jcotl8C8PsnTiMuThVN3JD3/PKCy6jt0fCsCMTA3bv /pruF7SmtoPLsZYnyyVbh4bAhWpmD8sythfnm+TFJF0gmmT9IIKe8U9ByqGLPIY6rfC4 I7hbfjWnJDZtpyI2JfuBJ9Mf1q6whXbo4g//g= Received: by 10.216.140.147 with SMTP id e19mr430987wej.49.1303804991750; Tue, 26 Apr 2011 01:03:11 -0700 (PDT) Received: from localhost.localdomain (84-119-52-190.dynamic.xdsl-line.inode.at [84.119.52.190]) by mx.google.com with ESMTPS id j49sm2865644wer.38.2011.04.26.01.03.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2011 01:03:10 -0700 (PDT) From: Andreas Philipp To: linux-btrfs@vger.kernel.org Cc: Andreas Philipp , chris.mason@oracle.com, dcrmorgado@gmail.com, kreijack@libero.it, lizf@cn.fujitsu.com Subject: [PATCH 5/5] Updated manpage for btrfs subvolume snapshot. Date: Tue, 26 Apr 2011 10:02:44 +0200 Message-Id: <1303804964-2840-6-git-send-email-philipp.andreas@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1303804964-2840-1-git-send-email-philipp.andreas@gmail.com> References: <1303804964-2840-1-git-send-email-philipp.andreas@gmail.com> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 26 Apr 2011 08:03:23 +0000 (UTC) Signed-off-by: Andreas Philipp --- man/btrfs.8.in | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 26ef982..b59bc6f 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -5,7 +5,7 @@ .SH NAME btrfs \- control a btrfs filesystem .SH SYNOPSIS -\fBbtrfs\fP \fBsubvolume snapshot\fP\fI [/]\fP +\fBbtrfs\fP \fBsubvolume snapshot\fP\fI [-r] [/]\fP .PP \fBbtrfs\fP \fBsubvolume delete\fP\fI \fP .PP @@ -70,10 +70,11 @@ command. .SH COMMANDS .TP -\fBsubvolume snapshot\fR\fI [/]\fR -Create a writable snapshot of the subvolume \fI\fR with the name -\fI\fR in the \fI\fR directory. If \fI\fR is not a -subvolume, \fBbtrfs\fR returns an error. +\fBsubvolume snapshot\fR\fI [-r] [/]\fR +Create a writable/readonly snapshot of the subvolume \fI\fR with the +name \fI\fR in the \fI\fR directory. If \fI\fR is not a +subvolume, \fBbtrfs\fR returns an error. If \fI-r\fR is given, the snapshot +will be readonly. .TP \fBsubvolume delete\fR\fI \fR