Re: [osinfo-db/libosinfo PATCH 0/6] Add support to images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 01, 2018 at 10:09:03AM +0000, Daniel P. Berrangé wrote:
> ie essentially encode the file content probing rules that libguestfs
> has, as osinfo DB information, so that it becomes user extendable in
> the normal way we do for ISO/install tree. Admittedly the image probing
> rules are significantly more complicated than ISO/install tree probiing
> rules, but I think it is doable if we wanted to. It ultimately just
> comes down to a (very large) set of file content matches.

It's rather more complicated than that.  It's definitely not true to
say that libguestfs is just doing some regexps over files.

Also I think this duplicates the functionality of other tools (notably
facter, but there are others).  Just tell people to use facter if they
are running "in guest".

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux