If /etc/*-release is going to become a trend, then perhaps we should consider placing them in a subdirectory called /etc/release/
We should standardized the internal format of the file ie., (name colon value) and/or an API to the data. George Kraft IV [EMAIL PROTECTED] 512-838-2688; t/l 678-2688 IBM Linux Technology Center & Linux Standards http://oss.software.ibm.com/developerworks/opensource/linux/ John H Terpstra <[EMAIL PROTECTED]> on 04/25/2000 01:07:35 PM Please respond to [EMAIL PROTECTED] To: Lenz Grimmer <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED] Subject: Re: Version & Distribution identification On Tue, 25 Apr 2000, Lenz Grimmer wrote: > Hi, > > On Tue, 25 Apr 2000, Christopher Yeoh wrote: > > > Apologies if this has been discussed before, but a couple of things > > that I think would be useful as part of the LSB specification: > > > > - a file which identifies the version of the LSB to which > > the distribution is compliant against. > > > > - a file which contains the name and version of the distribution which > > would provide a standard way of working out which distro is installed. > > > > I'd be happy to write up this formally for the specification if people > > think its a good idea. > > I think it is a good idea. Some distributors already started this by > creating a file /etc/<distribution>-release. For example, SuSE has the > following: > > # cat /etc/SuSE-release > SuSE Linux 6.4 (i386) > VERSION = 6.4 > > However, the file name is of course different on other distributions :) > I guess it is /etc/RedHat-release on Red Hat. > > About the first question: what about /etc/FHS-Release? This could be part > of the LSB-compatibility package. > > Bye, > LenZ > -- For TurboLinux this file is /etc/turbolinux-release. cheers, John H Terpstra -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with subject of "unsubscribe". Trouble? Email [EMAIL PROTECTED]
