On Wed, 08.10.14 09:57, Rahul Sundaram (methe...@gmail.com) wrote:

> Hi
> 
> On Wed, Oct 8, 2014 at 9:46 AM, Lennart Poettering  wrote:
> 
> >
> > I think what would make a lot of sense though is to add a section to
> > the man page somewhere, that explains which ID refers to which
> > software from which vendor. Also, it might make sense to add a new
> > switch to the tool, that dumps the table of known identifiers plus
> > some description.
> 
> 
> Fair enough.  I will see if I can do that.  Would it be ok to add
> appropriate aliases to existing terms, virtualbox - oracle and hyperv -
> microsoft and mark the vendor names as deprecated?  That way we retain
> compatibility while having the consistency (this is more than just about
> being pretty!) that everything is named after the technology and not the
> mismash of vendors names (oracle, microsoft) and technology names (kvm...)
> in a list.

Well, systemd-detect-virt outputs an id. People use it like so:

    if [ `systemd-detect-virt` = "microsoft" ] ; then    
        ...
    fi

THis really shouldn't get broken. 

In general I am against such redundancies of duplicate entries, unless
we have a really strong reason.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to