[Libguestfs] [PATCH v5 0/3] libguestfs: guestfs_list_filesystems: skip block devices which cannot hold file system

Mykola Ivanets stenavin at gmail.com
Fri Apr 27 12:53:38 UTC 2018


This patch series:
1. Addresses comments from last review:
     part_get_mbr_part_type doesn't break original implementation in C.
2. Rebased on top of master and little bit refactored for readability.

Mykola Ivanets (1):
  tests: md: Test guestfish list-filesystems command skips partitioned
    md devices.

Nikolay Ivanets (2):
  daemon: Reimplement 'part_get_mbr_part_type' API in OCaml.
  daemon: list-filesystems: Don't list partitions which cannot hold file
    system.

 daemon/listfs.ml                        | 130 +++++++++++++++---------
 daemon/parted.c                         | 106 -------------------
 daemon/parted.ml                        |  13 +++
 generator/actions_core.ml               |   1 +
 tests/md/Makefile.am                    |   3 +-
 tests/md/test-partitioned-md-devices.sh |  79 ++++++++++++++
 6 files changed, 176 insertions(+), 156 deletions(-)
 create mode 100755 tests/md/test-partitioned-md-devices.sh

-- 
2.17.0




More information about the Libguestfs mailing list