Skip to contentSkip to conversation

get-default man page

PATCH In review Goffredo Baroncelli 1 participant 1 message Nov 2, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 4/7 get-default man page

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

---
 btrfs_cmds.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
btrfs_cmds.c +10 -0
index 01e08fb..265d2cd 100644
@@ -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;
Signature · 2 lines
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <[email protected]>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
btrfs_cmds.c +10 -0
index 01e08fb..265d2cd 100644
@@ -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;