* [PATCH 7/7][V2] btrfs-progs: get-default man page
@ 2011-11-08 22:12 Goffredo Baroncelli
0 siblings, 0 replies; only message in thread
From: Goffredo Baroncelli @ 2011-11-08 22:12 UTC (permalink / raw)
To: linux-btrfs
[-- 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-08 22:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 22:12 [PATCH 7/7][V2] btrfs-progs: get-default man page Goffredo Baroncelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).