From: Goffredo Baroncelli <kreijack@inwind.it>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 7/7][V2] btrfs-progs: get-default man page
Date: Tue, 08 Nov 2011 23:12:15 +0100 [thread overview]
Message-ID: <2037591.As7XTDLSmZ@venice> (raw)
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
Adde the man page info for the "btrfs subvolume get-default" command
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 517b0de..b2fff2f 100644
--- a/btrfs_cmds.c
+++ b/btrfs_cmds.c
@@ -1244,6 +1244,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;
--
1.7.7.2
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E C054 BF04 F161 3DC5 0512
[-- Attachment #2: send-via-kmail-attach-9375-1320789398-5336.msg --]
[-- Type: text/x-patch, Size: 523 bytes --]
diff --git a/btrfs_cmds.c b/btrfs_cmds.c
index 517b0de..b2fff2f 100644
--- a/btrfs_cmds.c
+++ b/btrfs_cmds.c
@@ -1244,6 +1244,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;
--
1.7.7.2
reply other threads:[~2011-11-08 22:12 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=2037591.As7XTDLSmZ@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.