[Libguestfs] guestmount without fstab
Pino Toscano
ptoscano at redhat.com
Tue Feb 23 17:21:34 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160223/7eb8e6fb/attachment.sig>
More information about the Libguestfs
mailing list