Re: distro name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why not use lsb?

$ lsb_release -a
LSB Version:    1.2.0
Distributor ID: RedHatAdvancedServer
Description:    Red Hat Linux Advanced Server release 2.1AS (Pensacola)
Release:        2.1AS
Codename:       Pensacola


Erik Slagter wrote:

On Tue, 2004-08-03 at 19:20, Jim C. wrote:


What is the best way to retrieve the identity of a distro?

OK, check it out:
[root@enigma mnt]# cat /proc/version
Linux version 2.6.3-7mdk (nplanel@xxxxxxxxxxxxxxxxxxx) (gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)) #1 Wed Mar 17 15:56:42 CET 2004


This is silly.

This says that your kernel was compiled on a box that somehow features
mandrake. If you compile your kernel yourself, it's probably gone.

Also I second the statement from someone earlier, it's pointless to make
assumptions about a certain distribution. One can have a mix of
different distribution's rpms installed.


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list





--
John Newbigin - Computer Systems Officer
School of Information Technology
Swinburne University of Technology
Melbourne, Australia
http://www.it.swin.edu.au/staff/jnewbigin


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux