Improving the Identication of Linux Distributions when Dumping

Matthias Klose doko at ubuntu.com
Wed Apr 20 04:31:43 PDT 2011


To identify the distribution the VM runs on? But maybe I don't understand the 
question.

   Matthias

On 04/20/2011 01:23 PM, Dmitry Samersoff wrote:
> Matthias,
>
> What is the purpose of this identification?
>
> -Dmitry
>
> On 2011-04-20 13:51, Matthias Klose wrote:
>> No, that would be completely wrong. /proc/version tells you something
>> about the running kernel, not about the distribution.
>>
>> On 04/20/2011 11:34 AM, Dmitry Samersoff wrote:
>>> Matthias,
>>>
>>> Can't we just read /proc/version ?
>>>
>>> e.g.:
>>>
>>> Linux version 2.6.25-14.fc9.x86_64 (mockbuild@) (gcc version 4.3.0
>>> 20080428 (Red
>>> Hat 4.3.0-8) (GCC) ) #1 SMP Thu May 1 06:06:21 EDT 2008
>>>
>>> Linux version 2.6.38.2 (root at yoda) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0,
>>> pie-10.1.5) ) #1 SMP PREEMPT Sat Apr 16 00:19:00 MSD 20
>>>
>>>
>>>
>>> On 2011-04-19 19:25, Matthias Klose wrote:
>>>> plus the format for the /etc/lsb-release file is not part of the lsb
>>>> spec. A proposal to either define an API to this information, or to
>>>> document the format of this file didn't find much enthusiasm on the LSB
>>>> ML. So I would like to stay with the current approch, and read the file
>>>> if available.
>>>>
>>>> Matthias
>>>
>>>
>>
>
>




More information about the distro-pkg-dev mailing list