[PATCH 4/7] get-default man page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>


---
 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@xxxxxxxxx>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
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: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux