Mailinglist Archive: opensuse (6210 mails)
| < Previous | Next > |
Re: [opensuse] uname -a not providing Suse OS name and release info
- From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
- Date: Tue, 18 Oct 2005 07:40:30 +0200
- Message-id: <43548ACE.5090101@xxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ken Schneider wrote:
> On Mon, 2005-10-17 at 23:27 +0200, Pascal Bleser wrote:
>> Frank.Pikelner@xxxxxxxxxxx wrote:
>> ...
>>> From a developer point of view is there a reliable/consistent way to
>>> obtain Linux distribution name and release information?
>> /etc/SuSE-release
>> /etc/redhat-release
>> /etc/mandrake-release
>>
> How about every distribution just call it /etc/release or is that too
> easy?
It definately would be much too easy ;)
Well, it doesn't help. We could start with SUSE and ask the devs to include such a file, then talk
with Fedora, Mandriva, Debian, Ubuntu, Gentoo, Knoppix, and a few dozen others.
It still wouldn't help.
Because the file is not included in past releases ;)
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFDVIrOr3NMWliFcXcRAhhSAJ9pjyzw193PK3y2shWtpsCt3seGqgCfWWQg
cq8T2p4M+F7cS8Jjxw3aOLQ=
=QTpR
-----END PGP SIGNATURE-----
Hash: SHA1
Ken Schneider wrote:
> On Mon, 2005-10-17 at 23:27 +0200, Pascal Bleser wrote:
>> Frank.Pikelner@xxxxxxxxxxx wrote:
>> ...
>>> From a developer point of view is there a reliable/consistent way to
>>> obtain Linux distribution name and release information?
>> /etc/SuSE-release
>> /etc/redhat-release
>> /etc/mandrake-release
>>
> How about every distribution just call it /etc/release or is that too
> easy?
It definately would be much too easy ;)
Well, it doesn't help. We could start with SUSE and ask the devs to include such a file, then talk
with Fedora, Mandriva, Debian, Ubuntu, Gentoo, Knoppix, and a few dozen others.
It still wouldn't help.
Because the file is not included in past releases ;)
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFDVIrOr3NMWliFcXcRAhhSAJ9pjyzw193PK3y2shWtpsCt3seGqgCfWWQg
cq8T2p4M+F7cS8Jjxw3aOLQ=
=QTpR
-----END PGP SIGNATURE-----
| < Previous | Next > |