Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.admin Subject: Re: what kind of machine am I Message-ID: <7844@auspex.auspex.com> Date: 15 May 91 22:06:44 GMT References: <858@lhdsy1.chevron.com> <4035@island.COM> Distribution: na Organization: Auspex Systems, Santa Clara Lines: 17 >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".