bug-hurd
[Top][All Lists]
Advanced

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

Re: uname -s


From: Robert Millan
Subject: Re: uname -s
Date: Wed, 23 Oct 2002 02:35:05 +0200
User-agent: Mutt/1.4i

On Wed, Oct 23, 2002 at 10:40:46PM +0300, Petri Koistinen wrote:
> 
> I don't understand.

There's a bug in Linux, based in the assumption that Linux is not a kernel
but an OS. AFAIK uname asks Linux, the kernel, for the OS name and Linux
says the OS name is "Linux".

The uname maintainers attempted to workaround that bug by changing uname
documentation into saying that -s is for kernel, but this is not correct.

> $ uname --help
> Usage: uname [OPTION]...
> Print certain system information.  With no OPTION, same as -s.
> 
>   -a, --all                print all information, in the following order:
>   -s, --kernel-name        print the kernel name

this -s is for --system

>   -n, --nodename           print the network node hostname
>   -r, --kernel-release     print the kernel release
>   -v, --kernel-version     print the kernel version
>   -m, --machine            print the machine hardware name
>   -p, --processor          print the processor type
>   -i, --hardware-platform  print the hardware platform
>   -o, --operating-system   print the operating system

this is a new option

>       --help     display this help and exit
>       --version  output version information and exit
> 
> Report bugs to <bug-sh-utils@gnu.org>.

Please re-report your bug to bug-sh-utils@gnu.org, not here.

-- 
Robert Millan

"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"

              Andrew S. Tanenbaum, 30 Jan 1992




reply via email to

[Prev in Thread] Current Thread [Next in Thread]