Displaying 3 results from an estimated 3 matches for "d8a5e0b".
Did you mean:
d4815e0b
2015 Jun 30
0
[PATCH v4 4/7] uuid: use newly introduced swap_set_uuid
...ujitsu.com>
---
v3: move swapuuid to swap.c
rename it as swap_set_uuid
daemon/daemon.h | 3 +++
daemon/swap.c | 16 ++++++++++++++++
daemon/uuids.c | 18 +-----------------
3 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/daemon/daemon.h b/daemon/daemon.h
index cbe8ada..d8a5e0b 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -276,6 +276,9 @@ extern int btrfs_set_uuid (const char *device, const char *uuid);
/*-- in ntfs.c --*/
extern char *ntfs_get_label (const char *device);
+/*-- in swap.c --*/
+extern int swap_set_uuid (const char *device, const char *uuid);
+...
2015 Jun 30
0
[PATCH v4 5/7] daemon: add get_random_uuid
...ce/packagelist.in
index 76c7293..d218a37 100644
--- a/appliance/packagelist.in
+++ b/appliance/packagelist.in
@@ -97,6 +97,7 @@ dnl iproute has been renamed to iproute2
vim-tiny
xz-utils
zfs-fuse
+ uuid-runtime
)
ifelse(ARCHLINUX,1,
diff --git a/daemon/daemon.h b/daemon/daemon.h
index d8a5e0b..f8441d1 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -152,6 +152,8 @@ extern void udev_settle (void);
extern int random_name (char *template);
+extern char *get_random_uuid (void);
+
/* This just stops gcc from giving a warning about our custom printf
* formatters %Q and %R. See...
2015 Jun 30
13
[PATCH v4 0/7] uuid: add btrfs uuid change support and set_uuid_random
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- Introduce set_uuid_random
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existing functions.
v4: introduce get_random_uuid
improve testcases
squash internal API patches
v3.1: fix typos
v3: set errno if feature is not available.
Chen Hanxiao (7):