From owner-freebsd-bugs Tue Feb 24 13:38:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15865 for freebsd-bugs-outgoing; Tue, 24 Feb 1998 13:38:30 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from mail.jmrodgers.com ([205.247.224.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA15851 for ; Tue, 24 Feb 1998 13:38:23 -0800 (PST) (envelope-from meuston@jmrodgers.com) Received: from max.jmrodgers.com (max.jmrodgers.com [205.247.224.209]) by mail.jmrodgers.com (8.8.8/8.8.7) with SMTP id QAA04779 for ; Tue, 24 Feb 1998 16:38:14 -0500 (EST) (envelope-from meuston@jmrodgers.com) Received: by localhost with Microsoft MAPI; Tue, 24 Feb 1998 16:32:21 -0500 Message-ID: <01BD4141.C79A4DA0.meuston@jmrodgers.com> From: Max Euston To: "'FreeBSD Bugs'" Subject: FW: bin/5826: uname '-p' option Date: Tue, 24 Feb 1998 16:32:19 -0500 Organization: J.M. Rodgers Co., Inc. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Unintentionally sent directly to submitter] -----Original Message----- From: Max Euston [SMTP:meuston@jmrodgers.com] Sent: Tuesday, February 24, 1998 9:21 AM To: 'Nate Williams' Subject: RE: bin/5826: uname '-p' option On Monday, February 23, 1998 5:42 PM, Nate Williams [SMTP:nate@mt.sri.com] wrote: > > The following reply was made to PR bin/5826; it has been noted by GNATS. > > > > From: Steve Price > > To: alk@East.Sun.COM, freebsd-gnats-submit@FreeBSD.ORG > > Cc: Subject: Re: bin/5826: uname '-p' option > > Date: Mon, 23 Feb 1998 16:21:44 -0600 > > > > > I find many SVR4 scripts using the -p option of uname to get > > > BSD uname -m functionality. Here's a one-line to provide > > > script-compatibility. > > > > Actually I think the intent of the -p option is to show > > the processor type of the machine, at least according to > > a Digital box running OSF1. Maybe the attached patch > > would be more appropriate? > > Hmm, all of the scripts I've used all return the same thing on the SUNS, > irregardless of whether it's an IPC/SparcStattion/Ultra/Sparc 5, or > what. This seems contradictory to the above statement, since all of the > scripts expect to return 'i386' on all Solaris-PC platforms, > irregardless of the CPU used. > > > Nate > On my (old) AT&T Starserver E (SMP EISA 486 PC) (Unix SVR4 3.1): $ man uname [...] -a Print all information. -m Print the machine hardware name. -n Print the nodename (the nodename is the name by which the system is known to a communications network). This is the default. -p Print the current host's processor type. -r Print the operating system release. -s Print the name of the operating system (e.g. UNIX System V). -v Print the operating system version. [...] $ uname -p 386/AT $ uname -m i386 Just another environment FWIW. Max ----- Max Euston Sysadm, Programmer, etc... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message