On Wed, Feb 23, 2005 at 12:01:40PM +0100, Jiri Kosina wrote:
> On Wed, 23 Feb 2005, Kostas Georgiou wrote:
>
> >That doesn't make much sense RHEL 2.1, RHEL 3 or RHEL 4 aren't the
> >same at all, you can't just use the same name for all of them.
> >Why don't we use the output of /usr/bin/lsb_release (-i -r maybe?)
> >which is part of the Linux Standard Base Specification?
>
> RH 7.x doesn't have /usr/bin/lsb_release
Yes it does, maybe you don't have it installed...
$ rpm -qf /usr/bin/lsb_release
redhat-lsb-1.2.0-1
$ /usr/bin/lsb_release -a
LSB Version: 1.2.0
Distributor ID: RedHat
Description: Red Hat Linux release 7.3 (Valhalla)
Release: 7.3
Codename: Valhalla
Kostas
|