Re: uname: Linux ... "unknown"
Eric Brunson (brunson@Level3.net)
Tue, 2 Feb 1999 16:55:13 -0700
On Tue, Feb 02, 1999 at 06:27:01PM -0500, Arvind Sankar wrote:
> On Tue, Feb 02, 1999 at 02:36:32PM -0800, B. James Phillippe wrote:
> > On Tue, 2 Feb 1999, Mark Lord wrote:
> >
> > > "B. James Phillippe" wrote:
> > > >
> > > > Hello,
> > > >
> > > > Does anyone know why uname always returns "unknown" for the (yp)domainname?
> > ...
> > > Are you sure that is the domainname there?
> > >
> > > % uname -p
> > > unknown
> > >
> > > The "-p" is the "host processor type".
> >
> > Mark (and others who have responded) are correct; the "unknown" flag is
> > probably the processor type. But that only changes the question: is it
> > part of the kernel that is lacking the information or is it a bug in uname?
> >
>
> btw, domainname on my machine returns nothing. where does uname(2) get the
> domain name from?
>
You have to set it on boot. Look through your rc scripts and see
where your distribution expects to read it from.
--
Eric Brunson * _ o * Faster and faster,
brunson@brunson.com * / //\ until the thrill of speed
brunson@l3.net \>>| * overcomes the fear of death
page-eric@l3.net \\,
-
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/