Displaying 3 results from an estimated 3 matches for "923adb2".
Did you mean:
921a5b2
2015 Jun 26
1
Re: [PATCH v3.1 7/9] New API: swap_set_uuid_random
..._set_uuid_random (const char *device);
> +extern char *get_random_uuid (void);
>
> /* ordinary daemon functions use these to indicate errors
> * NB: you don't need to prefix the string with the current command,
> diff --git a/daemon/swap.c b/daemon/swap.c
> index 26fe30d..923adb2 100644
> --- a/daemon/swap.c
> +++ b/daemon/swap.c
> @@ -34,6 +34,7 @@ GUESTFSD_EXT_CMD(str_mkswap, mkswap);
> GUESTFSD_EXT_CMD(str_swapon, swapon);
> GUESTFSD_EXT_CMD(str_swapoff, swapoff);
> GUESTFSD_EXT_CMD(str_swaplabel, swaplabel);
> +GUESTFSD_EXT_CMD(str_uuidgen, uuidg...
2015 Jun 26
0
[PATCH v3.1 7/9] New API: swap_set_uuid_random
...char *uuid);
+extern int swap_set_uuid_random (const char *device);
+extern char *get_random_uuid (void);
/* ordinary daemon functions use these to indicate errors
* NB: you don't need to prefix the string with the current command,
diff --git a/daemon/swap.c b/daemon/swap.c
index 26fe30d..923adb2 100644
--- a/daemon/swap.c
+++ b/daemon/swap.c
@@ -34,6 +34,7 @@ GUESTFSD_EXT_CMD(str_mkswap, mkswap);
GUESTFSD_EXT_CMD(str_swapon, swapon);
GUESTFSD_EXT_CMD(str_swapoff, swapoff);
GUESTFSD_EXT_CMD(str_swaplabel, swaplabel);
+GUESTFSD_EXT_CMD(str_uuidgen, uuidgen);
/* Confirmed this is true f...
2015 Jun 26
14
[PATCH v3.1 0/9] 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.
v3.1: fix typos
v3: set errno if feature is not available.
Chen Hanxiao (9):
uuid: add support to change uuid of btrfs partition
uuid: use existing function of