                                INTRODUCTION
                                
nuname (formerly known as lin_uname) replaces uname on Linux boxes to 
fix a minor annoyance.

This hack was created by Dale Allen Lakes on 01/05/98 in response
to several users complaints (including the authors') regarding
the "unknown" given in response to a uname -a on a Linux box:

     Linux dionysus2 2.0.34 #1 Sat Jun 13 17:21:49 EDT 1998 i586 unknown

After installing the binary included in this package I get:

     Linux dionysus2 2.0.34 #1 Sat Jun 13 17:21:49 EDT 1998 i586 CyrixInstead

This kludge has been tested on Cyrix, AMD and Intel boxes with
success. It should also work on an Alpha box. Let me know!

This is version 1.0. Enough folks have tested this minor hack for me
to believe that it 1) does what it's supposed to; and 2) has yet to hose
anyones' box. 

Please send bug reports to dale@multiverse.com

NOTE: This hack relies on the /proc fs... if /proc is not compiled into
your kernel you will get "unavailable." Also, if you're running a
Cyrix chip, you must patch your kernel with one of the available Cyrix 
patches. I use the one at:

              http://wauug.erols.com/~balsa/linux/cyrix/p3.html

ALSO: You need to have sh-utils-1.16 source code in order to compile 
your own binary from either the included patch or uname.c. This has
not been tested with any other version of sh-utils. 

-------------------------------------------------------------------------
                      WHAT'S INCLUDED AND INSTALLATION:

NUMAME FOR LIBC5
The first was compiled using sh-utils-1.16 on a Cyrix p150+ under Slackware 
3.4, glibc version libc-2.0.5.so (this version cab be found in the directory 
`libc5'.

NUNAME FOR GLIBC
Also included in release 1.0 is a version compiled on my RedHat 5.0 box 
(from the same patch created for libc5). This is in directory `glibc'. 
Whether a separate compile was necessary seems highly unlikely, but what 
the hey.

To install either of these login as root and mv your old uname binary 
(located under /bin on my box) to something like 'old.uname'. Then copy 
either binary to /bin. For example:

                 cp -a $DNLD_DIR/uname/libc5/uname /bin

You use either of these at your own risk.

LIN_UNAME_PATCH
I have tested this patch exactly twice. It worked. I simply did `patch 
sh-utils-1.16/src/uname.c linux_cpu_id_patch'. Then followed the install 
doc for the sh-utils release:

                 cd sh-utils-1.16 ; ./configure ; make ; make install 

If you are unfamiliar with the patch procedure, do 'man patch' from a 
command line or read the manual page in your favorite manpage browser.

UNAME.C
The source file... just replace the uname.c in sh-utils-1.16
with this file and compile sh-utils as above. 

Basically it's your choice how to install this, whichever of the three
you're most comfortable with, I suppose.

GNU PUBLIC LICENSE
README

------------------------------------------------------------------------
                                 DISCLAIMER
                                  
nuname comes with absolutely no warranty, expressed or implied. 
Use at your own risk. It is covered under the GPL, a copy of which is
included in this .tgz file. 

-------------------------------------------------------------------------
                                   THANKS! 
                                   
Shouts go out to whitecap on dalnet #linux who pointed me in the
right direction both in this small endeavor and also with Linux
in general.

Also to all of those on dalnet #linux who were kind (gullible?)
enough to test this for me. Thanks!

And to Andrew D. Balsa, current author of the unauthorized Cyrix patch 
and set6x86. I cannot recommend these utilities for anyone running
Linux with a Cyrix chip highly enough. Good job!

And a note to all of you who have bothered to read through this:
I know it's a lot of hullabaloo over such a minor tweak, but, hey,
it's the first little hack I've released publically so forgive me
my indulgences.

dale@multiverse.com
