get-default man page
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
Signed-off-by Goffredo Baroncelli <[email protected]>
--- btrfs_cmds.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
btrfs_cmds.c +10 -0
@@ -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
@@ -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;