News for hackers. Stuff that matters.
Re:Introducing /etc/os-release - End to distribution specifi... by russss on Tuesday February 14, 2012 @06:41AM (#3589602)
As mentioned in that man page, the /etc/lsb-release file only contains details on what version of the LSB the distribution conforms to (if the distribution isn't LSB-compliant, the file shouldn't exist). It doesn't have the version of the distribution itself, which lsb_release finds in distribution-specific locations.
Re:Introducing /etc/os-release - End to distribution specifi... by rwmj on Tuesday February 14, 2012 @06:54AM (#3589640)
This isn't completely true. lsb-release contains everything that is in os-release, including the version of the distro in a neutral format.

However I agree with you that lsb-release is not much used, and in some distros is only present when some huge X-dependent LSB package is installed.

But hey, we could fix LSB! Instead of, you know, making up something new that will be as little used as lsb-release.

Re:Introducing /etc/os-release - End to distribution specifi... by ars on Tuesday February 14, 2012 @07:48AM (#3589767)
As far as I can tell Debian does not have an /etc/lsb-release file. Rather they have an lsb-release program that outputs the necessary info.
Re:Introducing /etc/os-release - End to distribution specifi... by obtu on Tuesday February 14, 2012 @07:30AM (#3589727)

    cat /etc/lsb-release 
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=11.10
    DISTRIB_CODENAME=oneiric
    DISTRIB_DESCRIPTION="Ubuntu 11.10"