xref: /dflybsd-src/contrib/file/magic/Magdir/ibm370 (revision 970935fd377c084648da946d7d7e6d0286f5f89a)
1327e51cbSPeter Avalos
2327e51cbSPeter Avalos#------------------------------------------------------------------------------
3*970935fdSSascha Wildner# $File: ibm370,v 1.11 2021/03/14 16:51:45 christos Exp $
4327e51cbSPeter Avalos# ibm370:  file(1) magic for IBM 370 and compatibles.
5327e51cbSPeter Avalos#
6327e51cbSPeter Avalos# "ibm370" said that 0x15d == 0535 was "ibm 370 pure executable".
7327e51cbSPeter Avalos# What the heck *is* "USS/370"?
8327e51cbSPeter Avalos# AIX 4.1's "/etc/magic" has
9327e51cbSPeter Avalos#
10327e51cbSPeter Avalos#	0	short		0535		370 sysV executable
11327e51cbSPeter Avalos#	>12	long		>0		not stripped
12327e51cbSPeter Avalos#	>22	short		>0		- version %d
13327e51cbSPeter Avalos#	>30	long		>0		- 5.2 format
14327e51cbSPeter Avalos#	0	short		0530		370 sysV pure executable
15327e51cbSPeter Avalos#	>12	long		>0		not stripped
16327e51cbSPeter Avalos#	>22	short		>0		- version %d
17327e51cbSPeter Avalos#	>30	long		>0		- 5.2 format
18327e51cbSPeter Avalos#
19327e51cbSPeter Avalos# instead of the "USS/370" versions of the same magic numbers.
20327e51cbSPeter Avalos#
21327e51cbSPeter Avalos0	beshort		0537		370 XA sysV executable
22327e51cbSPeter Avalos>12	belong		>0		not stripped
23327e51cbSPeter Avalos>22	beshort		>0		- version %d
24327e51cbSPeter Avalos>30	belong		>0		- 5.2 format
25327e51cbSPeter Avalos0	beshort		0532		370 XA sysV pure executable
26327e51cbSPeter Avalos>12	belong		>0		not stripped
27327e51cbSPeter Avalos>22	beshort		>0		- version %d
28327e51cbSPeter Avalos>30	belong		>0		- 5.2 format
29327e51cbSPeter Avalos0	beshort		054001		370 sysV pure executable
30327e51cbSPeter Avalos>12	belong		>0		not stripped
31327e51cbSPeter Avalos0	beshort		055001		370 XA sysV pure executable
32327e51cbSPeter Avalos>12	belong		>0		not stripped
33327e51cbSPeter Avalos0	beshort		056401		370 sysV executable
34327e51cbSPeter Avalos>12	belong		>0		not stripped
35327e51cbSPeter Avalos0	beshort		057401		370 XA sysV executable
36327e51cbSPeter Avalos>12	belong		>0		not stripped
37327e51cbSPeter Avalos0       beshort		0531		SVR2 executable (Amdahl-UTS)
38327e51cbSPeter Avalos>12	belong		>0		not stripped
3982c5fa3eSPeter Avalos>24     belong		>0		- version %d
40327e51cbSPeter Avalos0	beshort		0534		SVR2 pure executable (Amdahl-UTS)
41327e51cbSPeter Avalos>12	belong		>0		not stripped
4282c5fa3eSPeter Avalos>24	belong		>0		- version %d
43327e51cbSPeter Avalos0	beshort		0530		SVR2 pure executable (USS/370)
44327e51cbSPeter Avalos>12	belong		>0		not stripped
4582c5fa3eSPeter Avalos>24	belong		>0		- version %d
46327e51cbSPeter Avalos0	beshort		0535		SVR2 executable (USS/370)
47327e51cbSPeter Avalos>12	belong		>0		not stripped
4882c5fa3eSPeter Avalos>24	belong		>0		- version %d
49*970935fdSSascha Wildner
50*970935fdSSascha Wildner# NETDATA (https://en.wikipedia.org/wiki/NETDATA)
51*970935fdSSascha Wildner#	-\INMR01 In EBCDIC
52*970935fdSSascha Wildner0	string 		\x60\xe0\xc9\xd5\xd4\xd9\xf0\xf1	IBM NETDATA file
53