lkml.org 
[lkml]   [1999]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: uname: Linux ... "unknown"
On Tue, 2 Feb 1999, David wrote:

# On Tue, 2 Feb 1999, Arvind Sankar wrote:
# > btw, domainname on my machine returns nothing. where does uname(2) get the
# > domain name from?
#
# i'm betting it uses what is in /proc/sys/kernel/hostname.
#
# note the other files in there.

And note that on Redhat boxes (5.1,5.2 at least) domainname is empty, and
hostname contains the fully qualified name :-/


G'day!
-- n i c h o l a s j l e o n
elegance through simplicity*http://mrnick.binary9.net*nicholas@binary9.net
good fortune through truth*roaming:njllm@email.msn.com*ICQ#2170994*U+($++)
TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9
trust no-one with an iq under 150*understand yourself before trying others


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.981 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site