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

Re: Version & Distribution identification



  I have a similar proposal:

- The file /etc/release will exist and can be used to identify the
  version of the LSB against which the distribution is compliant;
  and to identify the name of the distributor and version number
  of the installed distribution. It is a text file containing lines
  of the following format:

  KEY="VALUE"

  +-------------------+----------------------------------------------+
  | KEY               | VALUE                                        |
  +-------------------+----------------------------------------------+
  | LSB_VERSION       | Numerical version number of the lsb release  |
  |                   | against which the distribution is designed   |
  |                   | against                                      |
  | DISTRIBUTOR_ID    | String ID of distributor                     |
  | VERSION           | Numerical version number                     |
  | NAME              | Single line text description of distribution |
  +-------------------+----------------------------------------------+

  Each KEY appears once in the file.

It is the same as Christopher Yeoh's except it only uses a single file
and have a different key-name for lsb-version.

Regards,
/Karl

-----------------------------------------------------------------------
Karl Hammar            Aspö Data            karl@kalle.csb.ki.se
Lilla Aspö 2340        +46 173 140 57
S-742 94 Östhammar                          Unix for the small company
Sweden                 +46 70 511 97 84 (mobile)
-----------------------------------------------------------------------

From: Christopher Yeoh <cyeoh@linuxcare.com.au>
Subject: Re: Version & Distribution identification
Date: Wed, 26 Apr 2000 17:06:27 +0930

> How does the following look for a more formal specification based on
> people's comments so far?
> 
> 
> - The file /etc/lsb-release will exist and can be used to identify the
>   version of the LSB against which the distribution is compliant. It
>   is a text file containing lines of the following format:
> 
>   KEY="VALUE"
> 
>   +----------+----------------------------------------------------+
>   | KEY      |  VALUE                                             |
>   +----------+----------------------------------------------------+
>   | VERSION  | Numerical version number of the lsb release        |
>   |          | against which the distribution is designed against |
>   +----------+----------------------------------------------------+
> 
>   Each KEY appears once in the file.
> 
> - The file /etc/distribution-release will exist and can be used
>   to identify the name of the distributor and version number
>   of the installed distribution. It is a text file containing lines
>   of the following format:
> 
>   KEY="VALUE"
> 
>   +-------------------+----------------------------------------------+
>   | KEY               | VALUE                                        |
>   +-------------------+----------------------------------------------+
>   | DISTRIBUTOR_ID    | String ID of distributor                     |
>   | VERSION           | Numerical version number                     |
>   | NAME              | Single line text description of distribution |
>   +-------------------+----------------------------------------------+
> 
>   Each KEY appears once in the file.
> 
> A couple of questions:
> 
> - Is the /etc/lsb-release file needed given that the same
>   information is most likely available through the package
>   manager? Is it just easier to get the information out of a simple
>   text file?
> 
> - Would this belong in the LSB spec or in the Linux annex
>   of the FHS?
> 
> Chris.
> --
> cyeoh@linuxcare.com.au
> Support Open Source Ice-Cream
> 
> 
> -- 
> To UNSUBSCRIBE, email to lsb-discuss-request@lists.linuxbase.org
> with subject of "unsubscribe". Trouble? Email listmaster@lists.linuxbase.org


Reply to: