Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 4/7] get-default man page
@ 2011-11-02 21:23 Goffredo Baroncelli
  0 siblings, 0 replies; only message in thread
From: Goffredo Baroncelli @ 2011-11-02 21:23 UTC (permalink / raw)
  To: linux-btrfs


[-- 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 --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-02 21:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 21:23 [PATCH 4/7] 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