NetBSD Problem Report #422

From gnats  Thu Aug 18 15:05:56 1994
Received: from foundation.CSOS.ORST.EDU (root@foundation.CSOS.ORST.EDU [128.193.40.41]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id PAA03545 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 18 Aug 1994 15:05:55 -0700
Message-Id: <199408182206.PAA04967@foundation.CSOS.ORST.EDU>
Date: Thu, 18 Aug 1994 15:06:49 -0700
From: jason downs <downsj@CSOS.ORST.EDU>
Reply-To: downsj@CSOS.ORST.EDU
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: file(1) does not recognize 4.4BSD binaries
X-Send-Pr-Version: 3.2

>Number:         422
>Category:       bin
>Synopsis:       file(1) does not recognize 4.4BSD binaries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 18 15:20:05 +0000 1994
>Closed-Date:    Sun May 28 20:23:38 +0000 1995
>Last-Modified:  
>Originator:     jason downs
>Release:        NetBSD 1.0_BETA
>Organization:
spherical domain of death and darkness
>Environment:

System: NetBSD foundation 1.0_BETA NetBSD 1.0_BETA (FOUNDATION) #1: Mon Aug 8 14:05:59 PDT 1994 thorpej@foundation:/tmp_mnt/nemesis/usr/src/sys/arch/hp300/compile/FOUNDATION hp300


>Description:
	The hp300 port can run 4.4BSD binaries; I am running a rather large
	one (the X server) at the moment.  A slight annoyance is that file(1)
	still does not know the HP300 BSD binary magic numbers.
>How-To-Repeat:
	run file(1) on an HP300 BSD binary.
>Fix:
	Add something like the following to /usr/src/usr.bin/file/magdir
	(under the name hpBSD or somesuch):

# hpBSD magic numbers
0	beshort		200	old hp200 BSD
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: christos 
State-Changed-When: Sun May 28 16:23:38 EDT 1995 
State-Changed-Why:  
Added the magic numbers 
. 
>Unformatted:
 >2	beshort		0407	impure binary
 >2	beshort		0410	read-only binary
 >2	beshort		0413	demand paged binary
 0	beshort		300	hp300 BSD
 >2	beshort		0407	impure binary
 >2	beshort		0410	read-only binary
 >2	beshort		0413	demand paged binary

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.