[Libguestfs] [PATCH 0/5] Improve inspection of /usr filesystems

Pino Toscano ptoscano at redhat.com
Tue Dec 6 15:29:17 UTC 2016


Hi,

this patch series improves the way /usr filesystems are handled: tag
them appropriately, so later on we can find them and merge results they
contain directly back for the root filesystem.

The series includes also a new private debug API, and its usage to fix
the resolution of /dev/mapper/.. devices found in fstab; without it,
LVM /usr filesystems are not recognized as belonging to their roots.
Maybe a better API for this could be added, but since it's something
only related to the appliance then can stay internal for now. (Better
suggestions always welcome, of course.)

Thanks,

Pino Toscano (5):
  inspect: change is_root flag into enum
  inspect: mark CoreOS /usr partitions with own USR role
  daemon: debug: new "exists" subcommand
  inspect: fix existance check of /dev/mapper devices
  inspect: gather info from /usr filesystems as well (RHBZ#1401474)

 daemon/debug.c         | 39 ++++++++++++++++++++++
 src/guestfs-internal.h | 13 ++++++--
 src/inspect-fs-cd.c    |  2 +-
 src/inspect-fs-unix.c  | 42 ++++++++++++++++++++++-
 src/inspect-fs.c       | 26 ++++++++-------
 src/inspect.c          | 90 +++++++++++++++++++++++++++++++++++++++++++++-----
 6 files changed, 187 insertions(+), 25 deletions(-)

-- 
2.7.4




More information about the Libguestfs mailing list