Re: Re: New uname option to query exact OS distribution
Aaron Gaudio <[email protected]> Thu, 26 Aug 2004 17:39:38 -0400
| Newsgroups | gmane.linux.lsb.discuss |
|---|---|
| Message-ID | <1093556378.22829.56.camel__48577.2638385699$1093559660$gmane$org@rockhopper> |
On Thu, 2004-08-26 at 19:28 +0200, Dr. Giovanni A. Orlando wrote: > Tobias Burnus wrote: > > Hi, > > Will someone implement this feature ? > > Today, I start to implement, and see that on rpm-based distro, > likes: RedHat, Yellowdog, FTOSX, etc > haves the file, "/etc/'distro-name'-release that may be got from rpm > commands. > > I also note that generally, all these distro haves no differents at > all between company name and distro name: > > * Company name: YellowDog, > * Distro name = "Company-Name" Linux > > We instead adopt vendor: "ftosx", more similar to other > rpm-implementations, and use Vendor: Future Technologies Inc > inside the of "futuretg". > Mandrake adopt a similar approach, because the name of the OS is > different that the name of company, MandrakeSoft. > [...] Again, why not use lsb_release to get this information? Getting a vendor to support lsb_release has to be easier than getting them to patch uname to work to contain the distribution info (since the information you want is not available in the uname syscall).