search for: orig_uuid

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

2017 Aug 18
1
[PATCH] resize: handle empty UUIDs for swap partitions (RHBZ#1482737)
...dex fbb2d021b..48c75161d 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -1347,9 +1347,20 @@ read the man page virt-resize(1). (* Rebuild the swap using the UUID and label of the existing * swap partition. *) - let uuid = g#vfs_uuid target in + let orig_uuid = g#vfs_uuid target in + let uuid = + match orig_uuid with + | "" -> None + | uuid -> Some uuid in let label = g#vfs_label target in - g#mkswap ~uuid ~label target + g#mkswap ?uuid ~label target; + (* Check whether the...
2018 Apr 12
4
[PATCH 0/2] Support for expanding f2fs partitions
Hi, this small patch series exposes one of the utility in f2fs-tools, and use it to expand f2fs partitions in virt-resize. Thanks, Pino Toscano (2): New API: f2fs_expand resize: expand f2fs partitions daemon/Makefile.am | 1 + daemon/f2fs.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++ generator/actions_core.ml | 9 +++++++++ generator/proc_nr.ml | 1 +
2018 Apr 12
0
[PATCH v2 2/2] resize: expand f2fs partitions
...rowFS + | ContentFS (("f2fs"), _) when !f2fs_available -> ResizeF2fs | ContentFS _ -> assert false | ContentExtendedPartition -> assert false | ContentSwap -> Mkswap @@ -1368,6 +1375,7 @@ read the man page virt-resize(1). if new_uuid <> orig_uuid then warning (f_"UUID in swap partition %s changed from ā€˜%sā€™ to ā€˜%sā€™") target orig_uuid new_uuid; + | ResizeF2fs -> g#f2fs_expand target in (* Expand partition content as required. *) diff --git a/resize/virt-resize.pod b/resize/virt-resize.pod...