On Tue, Jan 23, 2018 at 12:44:12AM +0200, Mykola Ivanets wrote: > The function takes one argument - device path (e.g. /dev/sda) and returns > true if device contains partition(s) or false otherwise. The function look in > /sys/block/<device>/ for entries starting with <device>, eg. > /sys/block/sda/sda1.
This is OK, but patches 2 & 3 should be combined. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs