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

Re: uname -m and arch on athlon64



Adam Aube wrote:
> I have an Athlon XP, with a custom kernel compiled for Athlons, and uname -m
> returns "i686" for me as well (though it should probably say "K7").

But it is an implementation of the i686 architecture.

> According to the uname info page:
> 
> "Some systems provide a mechanism to interrogate the kernel directly for
> this information.  On systems without such a mechanism, the GNU C library
> fills in this field based on the configuration name that was specified when
> building and installing the library."
> 
> Perhaps it is getting it from libc6?

Nope.  It is getting it from the kernel.  Look in section 2 where
system calls are documented.

  man 2 uname

Bob

Attachment: pgpxSmTBIHVfk.pgp
Description: PGP signature


Reply to: