23 Feb
2016
23 Feb
'16
5:21 p.m.
On Tuesday 23 February 2016 15:21:17 Richard W.M. Jones wrote:
As for the particular question about lack of /etc/fstab. Are you getting some kind of error when using the guestmount -i option? It used to be (a long time ago) that libguestfs inspection[1] could not handle guests that did not have /etc/fstab, but that should be fixed in recent versions.
Not really: /etc/fstab is currently used [1] as criteria to detect whether the content of a partition is the root of a Linux installation. To check what the inspection of libguestfs would find in an image, run the 'virt-inspector' standalone tool and check the <mountpoints> and <filesystems> tags in the resulting XML. [1] src/inspect-fs.c, check_filesystem function Thanks, -- Pino Toscano