"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/ibm370" (17 Mar 2017, 1625 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "ibm370": 5.30_vs_5.31.

    1 
    2 #------------------------------------------------------------------------------
    3 # $File: ibm370,v 1.10 2017/03/17 21:35:28 christos Exp $
    4 # ibm370:  file(1) magic for IBM 370 and compatibles.
    5 #
    6 # "ibm370" said that 0x15d == 0535 was "ibm 370 pure executable".
    7 # What the heck *is* "USS/370"?
    8 # AIX 4.1's "/etc/magic" has
    9 #
   10 #	0	short		0535		370 sysV executable
   11 #	>12	long		>0		not stripped
   12 #	>22	short		>0		- version %d
   13 #	>30	long		>0		- 5.2 format
   14 #	0	short		0530		370 sysV pure executable
   15 #	>12	long		>0		not stripped
   16 #	>22	short		>0		- version %d
   17 #	>30	long		>0		- 5.2 format
   18 #
   19 # instead of the "USS/370" versions of the same magic numbers.
   20 #
   21 0	beshort		0537		370 XA sysV executable
   22 >12	belong		>0		not stripped
   23 >22	beshort		>0		- version %d
   24 >30	belong		>0		- 5.2 format
   25 0	beshort		0532		370 XA sysV pure executable
   26 >12	belong		>0		not stripped
   27 >22	beshort		>0		- version %d
   28 >30	belong		>0		- 5.2 format
   29 0	beshort		054001		370 sysV pure executable
   30 >12	belong		>0		not stripped
   31 0	beshort		055001		370 XA sysV pure executable
   32 >12	belong		>0		not stripped
   33 0	beshort		056401		370 sysV executable
   34 >12	belong		>0		not stripped
   35 0	beshort		057401		370 XA sysV executable
   36 >12	belong		>0		not stripped
   37 0       beshort		0531		SVR2 executable (Amdahl-UTS)
   38 >12	belong		>0		not stripped
   39 >24     belong		>0		- version %d
   40 0	beshort		0534		SVR2 pure executable (Amdahl-UTS)
   41 >12	belong		>0		not stripped
   42 >24	belong		>0		- version %d
   43 0	beshort		0530		SVR2 pure executable (USS/370)
   44 >12	belong		>0		not stripped
   45 >24	belong		>0		- version %d
   46 0	beshort		0535		SVR2 executable (USS/370)
   47 >12	belong		>0		not stripped
   48 >24	belong		>0		- version %d