search for: c1794ed

Displaying 3 results from an estimated 3 matches for "c1794ed".

2014 Feb 04
0
[PATCH 3/3] resize: preserve GPT partition names (RHBZ#1060404).
Save the partition names/labels of the source partitions, and restore them after the partition copy. --- resize/resize.ml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/resize/resize.ml b/resize/resize.ml index 191be83..c1794ed 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -49,6 +49,7 @@ type partition = { p_bootable : bool; (* Is it bootable? *) p_id : partition_id; (* Partition (MBR/GPT) ID. *) p_type : partition_content; (* Content type and content size. *) + p_label : strin...
2014 Feb 04
6
[PATCH 0/3] virt-resize: preserve GPT partitions label
Hi, attached there are few patches to implement a way to get the label of GPT partitions (refactoring an existing function and adding a new daemon API) and using it in virt-resize to restore them when copying partitions. Thanks, Pino Toscano (3): daemon: parted: refactor sgdisk info parsing code New API: part-get-name (RHBZ#593511). resize: preserve GPT partition names (RHBZ#1060404).
2014 Apr 30
3
[PATCH 2/2] Fix handling of passwords in URLs
...n */ + if (uri.password) { + sv = caml_copy_string (uri.password); + free (uri.password); + ov = caml_alloc (1, 0); + Store_field (ov, 0, sv); + } + else + ov = Val_int (0); + Store_field (rv, 4, ov); + CAMLreturn (rv); } diff --git a/resize/resize.ml b/resize/resize.ml index c1794ed..c6b6c9e 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -322,8 +322,9 @@ read the man page virt-resize(1). let g = new G.guestfs () in if debug then g#set_trace true; let _, { URI.path = path; protocol = protocol; - server = server; username = username } = infile...