Project

General

Profile

Bug #1956

/usr/bin/uname '-o' should return 'illumos'

Added by Andrew Stormont almost 8 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-01-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

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

uname-o-illumos.diff (4.37 KB) uname-o-illumos.diff Andrew Stormont, 2012-01-05 03:46 PM
uname-o-illumos-2.diff (4.55 KB) uname-o-illumos-2.diff Andrew Stormont, 2012-01-05 03:52 PM

History

#1

Updated by Andrew Stormont almost 8 years ago

Add new uname '-o' option to usage.

#2

Updated by Alek Pinchuk almost 8 years ago

i think the correct name is "illumos" not "Illumos"

#3

Updated by Andrew Stormont almost 8 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.

#4

Updated by Garrett D'Amore almost 8 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".

#5

Updated by Joshua M. Clulow over 1 year ago

  • Subject changed from /usr/bin/uname '-o' should return 'Illumos' to /usr/bin/uname '-o' should return 'illumos'
#6

Updated by Electric Monk over 1 year 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>

Also available in: Atom PDF