[lsb-discuss] Re: New uname option to query exact OS distribution

Aaron Gaudio prothonotar at tarnation.dyndns.org
Thu Aug 26 14:39:38 PDT 2004

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).

More information about the lsb-discuss mailing list