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

Re: How to identify "running on a Hurd system"?



On Sat, 2017-08-19 at 17:59 +0200, Narcis Garcia wrote:
> El 19/08/17 a les 15:57, Samuel Thibault ha escrit:
> > 
> > It's not vague :)
> > 
> > GNU/Hurd is *the* GNU system, no other system is supposed to make
> > uname -s return "GNU".

> I believed that GNU was an operating system and Hurd a kernel.
> Why isn't it?

Well, GNU is the GNU os. The kernel consists of gnumach and Hurd
servers running on top of that kernel.

Take a look at
uname -a
GNU hurd-sid 0.9 GNU-Mach 1.8+git20170609-486-dbg/Hurd-0.9 i686-AT386
GNU
uname -s (kernel-name) This might be misleading
GNU
uname -r (kernel-release)
0.9
uname -v (kernel version)
GNU-Mach 1.8+git20170609-486-dbg/Hurd-0.9
uname -o (operating system)
GNU

On GNU/Linux you have:
uname -a
Linux z97-4790k 4.9.0-2-amd64 #1 SMP Debian 4.9.10-1 (2017-02-17)
x86_64 GNU/Linux
uname -s
Linux
uname -r
4.9.0-2-amd64
uname -v
#1 SMP Debian 4.9.10-1 (2017-02-17)
uname -o
GNU/Linux


Reply to: