[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 0/3] fix btrfs subvolume procession in tools



This patcheset fixes errors in virt-sysprep and virt-sparsify.

Here we have a common functionality: is_btrfs_subvolume.
Doesn't it make sense to turn it into guestfs API?

Also I found an issue. In 'virt-sysprep fs-uuids',
the uuids for ALL filesystems are regenerated
as many times as many roots are in guest.
Is it done intentionally?

Maxim Perevedentsev (3):
  mllib: add checking for btrfs subvolume
  sparsify: fix btrfs subvolume processing in is_read_only_lv
  sysprep: fix btrfs subvolume processing in fs-uuids

 mllib/common_utils.ml                 | 10 ++++++++++
 mllib/common_utils.mli                |  3 +++
 sparsify/utils.ml                     |  3 ++-
 sysprep/sysprep_operation_fs_uuids.ml | 16 +++++++++-------
 4 files changed, 24 insertions(+), 8 deletions(-)

--
1.8.3.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]