[Libguestfs] guestmount without fstab
Frantisek Kluknavsky
fkluknav at redhat.com
Thu Feb 25 09:26:18 UTC 2016
On 02/23/2016 08:42 PM, Richard W.M. Jones wrote:
> On Tue, Feb 23, 2016 at 06:21:34PM +0100, Pino Toscano wrote:
>> 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.
>
> Yup - you're totally right. I was confusing that with the bug we used
> to have if /etc/fstab was empty (RHBZ#1113156).
>
> Something to fix with the new inspection code :-)
>
> Rich.
>
My intended use-case was to mount a container image that lacks kernel,
fstab and bootloader, not a full virtual machine. Thank you very much
for the explanation. I will try different approaches.
Have a nice day,
Fero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160225/2a5cc723/attachment.sig>
More information about the Libguestfs
mailing list