>12 belong 6 32-bit IEEE floating point,
>12 belong 7 64-bit IEEE floating point,
>12 belong 23 8-bit ISDN u-law compressed (CCITT G.721 ADPCM voice data encoding),
+>12 belong 24 compressed (8-bit G.722 ADPCM)
+>12 belong 25 compressed (3-bit G.723 ADPCM),
+>12 belong 26 compressed (5-bit G.723 ADPCM),
+>12 belong 27 8-bit A-law,
>20 belong 1 mono,
>20 belong 2 stereo,
>20 belong 4 quad,
>888 belong >0 Flags %x
24 lelong 60012 new-fs dump file (little endian),
->4 ledate x Previous dump %s,
->8 ledate x This dump %s,
+>4 ledate x This dump %s,
+>8 ledate x Previous dump %s,
>12 lelong >0 Volume %ld,
>692 lelong 0 Level zero, type:
>692 lelong >0 Level %d, type:
>>18 leshort 5 Motorola 88000 - invalid byte order,
>>18 leshort 6 Intel 80486,
>>18 leshort 7 Intel 80860,
->>18 leshort 8 MIPS RS3000,
+>>18 leshort 8 MIPS RS3000_BE,
>>18 leshort 9 Amdahl,
+>>18 leshort 10 MIPS RS3000_LE,
+>>18 leshort 11 RS6000,
+>>18 leshort 15 PA_RISC,
+>>18 leshort 16 nCUBE,
+>>18 leshort 17 VPP500,
+>>18 leshort 18 SPARC32PLUS,
+>>18 leshort 20 PowerPC,
>>18 leshort 0x9026 Alpha,
>>20 lelong 0 invalid version
>>20 lelong 1 version 1
>>18 beshort 5 Motorola 88000,
>>18 beshort 6 Intel 80486 - invalid byte order,
>>18 beshort 7 Intel 80860,
->>18 beshort 8 MIPS RS3000,
+>>18 beshort 8 MIPS RS3000_BE,
>>18 beshort 9 Amdahl,
+>>18 beshort 10 MIPS RS3000_LE,
+>>18 beshort 11 RS6000,
+>>18 beshort 15 PA_RISC,
+>>18 beshort 16 nCUBE,
+>>18 beshort 17 VPP500,
+>>18 beshort 18 SPARC32PLUS,
+>>18 beshort 20 PowerPC,
>>18 beshort 0x9026 Alpha,
>>20 belong 0 invalid version
>>20 belong 1 version 1
>29 byte 1 \b, fine resolution (204x196 DPI)
# JPEG images
+# SunOS 5.5.1 had
+#
+# 0 string \377\330\377\340 JPEG file
+# 0 string \377\330\377\356 JPG file
+#
+# both of which turn into "JPEG image data" here.
+#
0 beshort 0xffd8 JPEG image data
>6 string JFIF \b, JFIF standard
# HSI is Handmade Software's proprietary JPEG encoding scheme
# other images
0 string This\ is\ a\ BitMap\ file Lisp Machine bit-array-file
0 string !! Bennet Yee's "face" format
+
+# From SunOS 5.5.1 "/etc/magic" - appeared right before Sun raster image
+# stuff.
+#
+0 beshort 0x1010 PEX Binary Archive
#------------------------------------------------------------
# Java ByteCode
+# From Larry Schwimmer (schwim@cs.stanford.edu)
0 belong 0xcafebabe
>4 belong 0x0003002d Java bytecode
>>20 lelong >4096 dynamically linked executable
>3 byte ^0x80 executable
>16 lelong >0 not stripped
+0 string \0\0\0\0\0\0\300\357\020\0 FreeBSD core
+>1075 string >\0 from '%s'
0 lelong 000000407 NetBSD little-endian object file
>16 lelong >0 not stripped
#------------------------------------------------------------------------------
# sgi: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.)
-#
+# Dec Ultrix (MIPS)
# all of SGI's *current* machines and OSes run in big-endian mode on the
# MIPS machines, as far as I know.
#
>20 beshort 05401 (paged)
>8 belong >0 not stripped
>8 belong 0 stripped
->22 byte x - version %d
->23 byte x \b.%ld
+>23 byte x - version %d
+>22 byte x \b.%ld
#
0 beshort 0x6201 MIPSEL-LE COFF executable
>20 beshort 03401 (impure)
>20 beshort 05401 (paged)
>8 belong >0 not stripped
>8 belong 0 stripped
->22 byte x - version %ld
->23 byte x \b.%ld
+>23 byte x - version %ld
+>22 byte x \b.%ld
#
# MIPS 2 additions
#
>8 belong >0 not stripped
>8 belong 0 stripped
>23 byte x - version %ld
->23 byte x \b.%ld
+>22 byte x \b.%ld
#
0 beshort 0x6601 MIPSEL-LE MIPS-II COFF executable
>20 beshort 03401 (impure)
>8 belong >0 not stripped
>8 belong 0 stripped
>23 byte x - version %ld
->23 byte x \b.%ld
+>22 byte x \b.%ld
#
# MIPS 3 additions
#
>8 belong >0 not stripped
>8 belong 0 stripped
>23 byte x - version %ld
->23 byte x \b.%ld
+>22 byte x \b.%ld
#
0 beshort 0x4201 MIPSEL-LE MIPS-III COFF executable
>20 beshort 03401 (impure)
>8 belong >0 not stripped
>8 belong 0 stripped
>23 byte x - version %ld
->23 byte x \b.%ld
+>22 byte x \b.%ld
#
0 beshort 0x180 MIPSEB Ucode
0 beshort 0x182 MIPSEL Ucode