24468f395f
- Make requirement on libattr-devel explicit (forwarded request 179218 from jengelh) OBS-URL: https://build.opensuse.org/request/show/179277 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=29
37 lines
962 B
Diff
37 lines
962 B
Diff
From 68b5d415ff9515863c2080aebfe8d069b00a47fc Mon Sep 17 00:00:00 2001
|
|
From: Goffredo Baroncelli <kreijack@inwind.it>
|
|
Date: Mon, 26 Mar 2012 17:41:33 +0200
|
|
Subject: [PATCH 01/10] btrfs-progs: get-default man page
|
|
|
|
Added 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 558d40e..26a0700 100644
|
|
--- a/btrfs_cmds.c
|
|
+++ b/btrfs_cmds.c
|
|
@@ -1761,6 +1761,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.6.233.gd79bc
|
|
|