[Libguestfs] [PATCH] inspect: use /etc/hosts for detecting Linux root (RHBZ#1203898)

Pino Toscano ptoscano at redhat.com
Wed Feb 24 16:31:06 UTC 2016


On Wednesday 24 February 2016 15:43:40 Pino Toscano wrote:
> Use /etc/hosts instead of /etc/fstab to detect whether a partition
> represents the root of a Linux installation; the latter might not exist
> in smaller/special installations like Docker images.
> 
> Put an empty /etc/hosts in all the phony Linux guests to keep them
> detected as we want.
> ---

Discard this version, I'll send a more safe version.

-- 
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/20160224/ea84c720/attachment.sig>


More information about the Libguestfs mailing list