From patchwork Wed Apr 13 09:12:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Philipp X-Patchwork-Id: 703411 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 p3D9Cf3o031930 for ; Wed, 13 Apr 2011 09:12:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757992Ab1DMJMh (ORCPT ); Wed, 13 Apr 2011 05:12:37 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:60696 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757972Ab1DMJMg (ORCPT ); Wed, 13 Apr 2011 05:12:36 -0400 Received: by mail-wy0-f174.google.com with SMTP id 21so311108wya.19 for ; Wed, 13 Apr 2011 02:12:35 -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=ssy2rKczclSv8yni4ugvJvcvJpGfQNIWaew3UrvJ59HkE38kw3p5wdKqyy5atQRHJi 70Y27FBREyYCwdD5+U2XnCirSRxP7FF8QuGF6Xm/PMWuWePpYA5R0dyFpASrpJ60KV7V k5RkcCf40s1Xn03gu9K+g3DiEXKVhUPM+oLG4= 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=UIcKhO9D2V9HHJugTUIwn2fhXEAImQdIewG02L07g7H3BWCw76858Ayflhf4eCnkKE m87gnuefwjOhBIiP9+gRcDchblahV5JjMntiFDH7qtwgV0dFc8LwP1vt/wnIgguTHIIl 3YQVJn/Pw99bwLE+9wAzAq6R/7SjQvwtSH+Ac= Received: by 10.216.68.140 with SMTP id l12mr7054413wed.79.1302685954301; Wed, 13 Apr 2011 02:12:34 -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 d54sm148184wej.10.2011.04.13.02.12.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Apr 2011 02:12:33 -0700 (PDT) From: Andreas Philipp To: linux-btrfs@vger.kernel.org Cc: Andreas Philipp , lizf@cn.fujitsu.com Subject: [PATCH 5/5] Updated documentation for btrfs subvolume snapshot. Date: Wed, 13 Apr 2011 11:12:14 +0200 Message-Id: <1302685934-15737-6-git-send-email-philipp.andreas@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1302685934-15737-1-git-send-email-philipp.andreas@gmail.com> References: <1302685934-15737-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]); Wed, 13 Apr 2011 09:12:41 +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