Re: Suggestion for new directory layout for

Robin Friedrich,282-2974,RSOC (friedric@rsoc.rockwell.com)
18 Aug 1994 16:21:13 GMT

In article guido@voorn.cwi.nl, Guido.van.Rossum@cwi.nl () writes:
|
|Assuming uname exists (the configure script can figure that out), this
|can be computed as follows:
|
|PROCESSOR=`uname -p`
|SYSTEM=`uname -s | tr '[A-Z]' '[a-z]'`
|RELEASE=`uname -r | sed 's/\..*//'`
|SUBDIRNAME=$PROCESSOR-$SYSTEM-$RELEASE
|

uname on various machines return very different things. For example:

uname option SunOS 4 CDC(SVR4-derivative)
____________________________________________________________
machine -m sun4m mips
node name -n darwin wombat (hostname)
release -r 4.1.3 2.1.1
system name -s SunOS wombat (Sun bug?)
OS version -v 5 RISCos (Sun ?)

The above options are pretty much common along with the -a option.
uname -p doesn't exist outside a SGI machine as far as I know.
Just some data points to help your algorithm.

--------------------------------------------------------------
| Robin K. Friedrich | friedric@rsoc.rockwell.com |
| Rockwell Space Operations | (713) 282-2974 |
| Houston, TX | |
--------------------------------------------------------------