# 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/