Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Goffredo Baroncelli <kreijack@inwind.it>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 4/7] get-default man page
Date: Wed, 02 Nov 2011 22:23:42 +0100	[thread overview]
Message-ID: <3488788.FXyDJRn6Dj@venice> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 975 bytes --]

Add the man page info for the "btrfs subvolume get-default" command. This command 
was not mentioned in the man page before.

Comments are welcome.


BR
G.Baroncelli

Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>


---
 btrfs_cmds.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/btrfs_cmds.c b/btrfs_cmds.c
index 01e08fb..265d2cd 100644
--- a/btrfs_cmds.c
+++ b/btrfs_cmds.c
@@ -1810,6 +1810,16 @@ int do_change_label(int nargs, char **argv)
 }
 
 
+/**** man: btrfs subvolume get-default
+ * 
+ * \Bbtrfs\b \Bsubvolume get-default\b\I <path>\i
+ * 
+ * Query which subvolume of the filesystem <path> will be mounted
+ * as default.
+ * 
+ * Get the \Idefault\i subvolume of the filesystem \I<path>\i. 
+ ****/
+
 int do_get_default_subvol(int nargs, char **argv)
 {
 	int fd;

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

[-- Attachment #1.2: send-via-kmail-attach-14132-1320267561-26993.msg --]
[-- Type: text/x-patch, Size: 512 bytes --]

diff --git a/btrfs_cmds.c b/btrfs_cmds.c
index 01e08fb..265d2cd 100644
--- a/btrfs_cmds.c
+++ b/btrfs_cmds.c
@@ -1810,6 +1810,16 @@ int do_change_label(int nargs, char **argv)
 }
 
 
+/**** man: btrfs subvolume get-default
+ * 
+ * \Bbtrfs\b \Bsubvolume get-default\b\I <path>\i
+ * 
+ * Query which subvolume of the filesystem <path> will be mounted
+ * as default.
+ * 
+ * Get the \Idefault\i subvolume of the filesystem \I<path>\i. 
+ ****/
+
 int do_get_default_subvol(int nargs, char **argv)
 {
 	int fd;


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

                 reply	other threads:[~2011-11-02 21:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3488788.FXyDJRn6Dj@venice \
    --to=kreijack@inwind.it \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox