what kind of machine am I

Guy Harris guy at auspex.auspex.com
Thu May 16 08:06:44 AEST 1991


>elif [ -f /bin/i286 ] && /bin/i286; then
>	echo 286
>elif [ -f /bin/i386 ] && /bin/i386; then
>	echo 386
>elif [ -f /bin/i486 ] && /bin/i486; then
>	echo 486
>elif [ -f /bin/i586 ] && /bin/i586; then
>	echo 586

Are there *really* commands for "i486" and "i586"?  I wouldn't be at all
surprised if System V releases for 386's, 486's, and up weren't
mostly-generic "386-and-up" systems, such that only some small part of
the kernel code cared which of the implementations of the 386-and-up
architecture they were running on.

Also, I think the command for the 286 is called "iapx286" or maybe
"iAPX286".



More information about the Comp.unix.admin mailing list