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 [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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. > -- > [EMAIL PROTECTED] > Support Open Source Ice-Cream > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with subject of "unsubscribe". Trouble? Email [EMAIL PROTECTED]
