Bug #1956
/usr/bin/uname '-o' should return 'illumos'
100%
Description
The Illumos provided uname should support the '-o' argument and return 'Illumos' so that Illumos can be detected without breaking compatibilty with SunOS/Solaris scripts that use 'uname -s'.
The GNU version of uname already supports '-o' but returns 'Solaris' on Illumos. This will also need to be fixed but that is outside the scope of this bug.
Files
Updated by Andrew Stormont about 9 years ago
- File uname-o-illumos-2.diff uname-o-illumos-2.diff added
Add new uname '-o' option to usage.
Updated by Andrew Stormont about 9 years ago
GNU uname capitalises 'Solaris' so I think it's correct to do the same to Illumos. It also returns 'FreeBSD' and 'Linux' on those platforms too, also capitalised.
Updated by Garrett D'Amore about 9 years ago
As the trademark holder for illumos -- it is definitely "illumos" not "Illumos". The reason for this has to do with ugly fonts. For other OS' they choose differently because their capitalization is a matter of their own choice. For us, please use "illumos".
Updated by Joshua M. Clulow almost 3 years ago
- Subject changed from /usr/bin/uname '-o' should return 'Illumos' to /usr/bin/uname '-o' should return 'illumos'
Updated by Electric Monk almost 3 years ago
- Status changed from Feedback to Closed
git commit 84c66da4cde7f54163e6f9a68f671d8351dd9eed
commit 84c66da4cde7f54163e6f9a68f671d8351dd9eed Author: Andy Fiddaman <omnios@citrus-it.co.uk> Date: 2018-03-09T22:37:18.000Z 1956 /usr/bin/uname '-o' should return 'illumos' Reviewed by: Dominik Hassler <hadfl@omniosce.org> Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Joshua M. Clulow <josh@sysmgr.org>