xref: /illumos-gate/usr/src/cmd/file/magic (revision bbf21555)
17c478bd9Sstevel@tonic-gate#
238cdb693SRich Burridge# Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
361de0de2SAndy Fiddaman# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
47c478bd9Sstevel@tonic-gate#
57c478bd9Sstevel@tonic-gate# CDDL HEADER START
67c478bd9Sstevel@tonic-gate#
77c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
8405e5d68Stz# Common Development and Distribution License (the "License").
9405e5d68Stz# You may not use this file except in compliance with the License.
107c478bd9Sstevel@tonic-gate#
117c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
127c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
137c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
147c478bd9Sstevel@tonic-gate# and limitations under the License.
157c478bd9Sstevel@tonic-gate#
167c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
177c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
187c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
197c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
207c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
217c478bd9Sstevel@tonic-gate#
227c478bd9Sstevel@tonic-gate# CDDL HEADER END
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate# This file contains the dictionary of file format identifiers (magic strings)
257c478bd9Sstevel@tonic-gate# used by file(1).  The fields of this file are as follows:
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate# (1) byte offset
287c478bd9Sstevel@tonic-gate# (2) value type
297c478bd9Sstevel@tonic-gate# (3) optional operator (= by default)
307c478bd9Sstevel@tonic-gate# (4) value to match (numeric or string)
317c478bd9Sstevel@tonic-gate# (5) string to be printed
327c478bd9Sstevel@tonic-gate#
337c478bd9Sstevel@tonic-gate# Numeric values may be decimal, octal, or hex.  Also note that the last string
347c478bd9Sstevel@tonic-gate# may have one printf format specifier.  The '>' in occassional column 1's is
357c478bd9Sstevel@tonic-gate# magic: it forces file(1) to continue scanning and matching additional lines.
367c478bd9Sstevel@tonic-gate# The first line afterwards not so marked terminates the search.
377c478bd9Sstevel@tonic-gate#
387c478bd9Sstevel@tonic-gate# The entries for ELF are not needed anymore, as file(1) now uses the elf(3ELF)
397c478bd9Sstevel@tonic-gate# routines to look at ELF files.  They remain, commented out, for reference.
407c478bd9Sstevel@tonic-gate#
417c478bd9Sstevel@tonic-gate#0	string		\177ELF		ELF
427c478bd9Sstevel@tonic-gate#>4	byte		1		32-bit
437c478bd9Sstevel@tonic-gate#>5	byte		1		LSB
447c478bd9Sstevel@tonic-gate#>5	byte		2		MSB
457c478bd9Sstevel@tonic-gate#>16	short		0		unknown type
467c478bd9Sstevel@tonic-gate#>16	short		1		relocatable
477c478bd9Sstevel@tonic-gate#>16	short		2		executable
487c478bd9Sstevel@tonic-gate#>16	short		3		dynamic lib
497c478bd9Sstevel@tonic-gate#>16	short		4		core file
507c478bd9Sstevel@tonic-gate#>18	short		0		unknown machine
517c478bd9Sstevel@tonic-gate#>18	short		1		WE32100
527c478bd9Sstevel@tonic-gate#>18	short		2		SPARC
537c478bd9Sstevel@tonic-gate#>18	short		3		80386
547c478bd9Sstevel@tonic-gate#>18	short		4		M68000
557c478bd9Sstevel@tonic-gate#>18	short		5		M88000
567c478bd9Sstevel@tonic-gate#>18	short		6		i80486
577c478bd9Sstevel@tonic-gate#>18	short		7		i860
587c478bd9Sstevel@tonic-gate#>18	short		8		RS3000_BE
597c478bd9Sstevel@tonic-gate#>18	short		9		UNKNOWN
607c478bd9Sstevel@tonic-gate#>18	short		10		RS3000_LE
617c478bd9Sstevel@tonic-gate#>18	short		11		RS6000
627c478bd9Sstevel@tonic-gate#>18	short		12		UNKNOWN
637c478bd9Sstevel@tonic-gate#>18	short		13		UNKNOWN
647c478bd9Sstevel@tonic-gate#>18	short		14		UNKNOWN
657c478bd9Sstevel@tonic-gate#>18	short		15		PA_RISC
667c478bd9Sstevel@tonic-gate#>18	short		16		nCUBE
677c478bd9Sstevel@tonic-gate#>18	short		17		VPP500
687c478bd9Sstevel@tonic-gate#>18	short		18		SPARC32PLUS
697c478bd9Sstevel@tonic-gate#>18	short		19		UNKNOWN
707c478bd9Sstevel@tonic-gate#>18	short		20		PowerPC
717c478bd9Sstevel@tonic-gate#>20	long		1		Version 1
727c478bd9Sstevel@tonic-gate#>36	long		1		MAU Required
737c478bd9Sstevel@tonic-gate257	string		ustar		USTAR tar archive
747c478bd9Sstevel@tonic-gate>156	byte		88		extended format
757c478bd9Sstevel@tonic-gate0	short		070701		cpio archive
767c478bd9Sstevel@tonic-gate0	string		070701		ASCII cpio archive
777c478bd9Sstevel@tonic-gate0	short		070702		cpio archive - CRC header
787c478bd9Sstevel@tonic-gate0	string		070702		ASCII cpio archive - CRC header
797c478bd9Sstevel@tonic-gate0	short		070707		cpio archive - CHR (-c) header
807c478bd9Sstevel@tonic-gate0	string		070707		ASCII cpio archive - CHR (-c) header
817c478bd9Sstevel@tonic-gate0	long		0177555		obsolete ar archive
827c478bd9Sstevel@tonic-gate0	short		0177545		pdp11/pre System V ar archive
837c478bd9Sstevel@tonic-gate0	long		0100554		apl workspace
847c478bd9Sstevel@tonic-gate0	short		017037		packed data
857c478bd9Sstevel@tonic-gate0	string		<ar>		System V Release 1 ar archive
867c478bd9Sstevel@tonic-gate0	string		!<arch>		current ar archive
877c478bd9Sstevel@tonic-gate0	short		0407		pdp11/pre System V vax executable
887c478bd9Sstevel@tonic-gate>8	ushort		>0		not stripped
897c478bd9Sstevel@tonic-gate>15	ubyte		>0		- version %ld
907c478bd9Sstevel@tonic-gate0	short		0401		unix-rt ldp
917c478bd9Sstevel@tonic-gate0	short		0405		pdp11 overlay
927c478bd9Sstevel@tonic-gate0	short		0410		pdp11/pre System V vax pure executable
937c478bd9Sstevel@tonic-gate>8	ushort		>0		not stripped
947c478bd9Sstevel@tonic-gate>15	ubyte		>0		- version %ld
957c478bd9Sstevel@tonic-gate0	short		0411		pdp11 separate I&D
967c478bd9Sstevel@tonic-gate>8	ushort		>0		not stripped
977c478bd9Sstevel@tonic-gate>15	ubyte		>0		- version %ld
987c478bd9Sstevel@tonic-gate0	short		015001		Compiled Terminfo Entry
997c478bd9Sstevel@tonic-gate# little-endian entry
1007c478bd9Sstevel@tonic-gate0	short		0432		Compiled Terminfo Entry
1017c478bd9Sstevel@tonic-gate0	short		0433		Curses screen image
1027c478bd9Sstevel@tonic-gate0	short		0434		Curses screen image
1037c478bd9Sstevel@tonic-gate0	short		0437		pdp11 kernel overlay
1047c478bd9Sstevel@tonic-gate0	short		0570		vax executable
1057c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1067c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1077c478bd9Sstevel@tonic-gate0	short		0575		vax pure executable
1087c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1097c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1107c478bd9Sstevel@tonic-gate0	short		0502		basic-16 executable
1117c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1127c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1137c478bd9Sstevel@tonic-gate0	short		0503		basic-16 executable (TV)
1147c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1157c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1167c478bd9Sstevel@tonic-gate0	short		0510		x86 executable
1177c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1187c478bd9Sstevel@tonic-gate0	short		0511		x86 executable (TV)
1197c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1207c478bd9Sstevel@tonic-gate0	short		0550		3b20 executable
1217c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1227c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1237c478bd9Sstevel@tonic-gate0	short		0551		3b20 executable (TV)
1247c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1257c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1267c478bd9Sstevel@tonic-gate0	short		0560		WE32000 executable
1277c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1287c478bd9Sstevel@tonic-gate>18	short		^00010000	- N/A on 3b2/300 w/paging
1297c478bd9Sstevel@tonic-gate>18	short		&00020000	- 32100 required
1307c478bd9Sstevel@tonic-gate>18	short		&00040000	and mau hardware required
1317c478bd9Sstevel@tonic-gate>20	short		0443		(target shared library)
1327c478bd9Sstevel@tonic-gate>20	short		0410		(swapped)
1337c478bd9Sstevel@tonic-gate>20	short		0413		(paged)
1347c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1357c478bd9Sstevel@tonic-gate0	short		0561		WE32000 executable (TV)
1367c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1377c478bd9Sstevel@tonic-gate>18	short		&00020000	- 32100 required
1387c478bd9Sstevel@tonic-gate>18	short		&00040000	and mau hardware required
1397c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1407c478bd9Sstevel@tonic-gate0	short		=0512		iAPX 286 executable small model (COFF)
1417c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1427c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1437c478bd9Sstevel@tonic-gate0	short		=0522		iAPX 286 executable large model (COFF)
1447c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1457c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1467c478bd9Sstevel@tonic-gate0	short		0514		iAPX 386 executable (COFF) (deprecated)
1477c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1487c478bd9Sstevel@tonic-gate>22	ushort		>0		- version %ld
1497c478bd9Sstevel@tonic-gate0	short		0520		mc68k executable
1507c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1517c478bd9Sstevel@tonic-gate0	short		0521		mc68k executable (shared)
1527c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1537c478bd9Sstevel@tonic-gate0	short		0522		mc68k executable (shared demand paged)
1547c478bd9Sstevel@tonic-gate>12	long		>0		not stripped
1557c478bd9Sstevel@tonic-gate# big-endian entries for pure executables
1567c478bd9Sstevel@tonic-gate2	short		0410		pure
1577c478bd9Sstevel@tonic-gate>1	byte		0		sun2 executable
1587c478bd9Sstevel@tonic-gate>1	byte		1		mc68010 executable
1597c478bd9Sstevel@tonic-gate>1	byte		2		mc68020 executable
1607c478bd9Sstevel@tonic-gate>1	byte		3		SPARC executable
1617c478bd9Sstevel@tonic-gate>0	ubyte		>077		dynamically linked
1627c478bd9Sstevel@tonic-gate# little-endian entries for pure executables
1637c478bd9Sstevel@tonic-gate2	short		04001		pure
1647c478bd9Sstevel@tonic-gate>1	byte		0		sun2 executable
1657c478bd9Sstevel@tonic-gate>1	byte		1		mc68010 executable
1667c478bd9Sstevel@tonic-gate>1	byte		2		mc68020 executable
1677c478bd9Sstevel@tonic-gate>1	byte		3		SPARC executable
1687c478bd9Sstevel@tonic-gate>0	ubyte		>077		dynamically linked
1697c478bd9Sstevel@tonic-gate# big-endian entries for impure executables
1707c478bd9Sstevel@tonic-gate2	short		0407		impure
1717c478bd9Sstevel@tonic-gate>1	byte		0		sun2 executable
1727c478bd9Sstevel@tonic-gate>1	byte		1		mc68010 executable
1737c478bd9Sstevel@tonic-gate>1	byte		2		mc68020 executable
1747c478bd9Sstevel@tonic-gate>1	byte		3		SPARC executable
1757c478bd9Sstevel@tonic-gate>0	ubyte		>077		dynamically linked
1767c478bd9Sstevel@tonic-gate# little-endian entries for impure executables
1777c478bd9Sstevel@tonic-gate2	short		03401		impure
1787c478bd9Sstevel@tonic-gate>1	byte		0		sun2 executable
1797c478bd9Sstevel@tonic-gate>1	byte		1		mc68010 executable
1807c478bd9Sstevel@tonic-gate>1	byte		2		mc68020 executable
1817c478bd9Sstevel@tonic-gate>1	byte		3		SPARC executable
1827c478bd9Sstevel@tonic-gate>0	ubyte		>077		dynamically linked
1837c478bd9Sstevel@tonic-gate# big-endian entries for Sun demand paged executables
1847c478bd9Sstevel@tonic-gate2	short		0413		Sun demand paged
1857c478bd9Sstevel@tonic-gate>1	byte		0		sun2 executable
1867c478bd9Sstevel@tonic-gate>1	byte		1		mc68010 executable
1877c478bd9Sstevel@tonic-gate>1	byte		2		mc68020 executable
1887c478bd9Sstevel@tonic-gate>1	byte		3		SPARC executable
1897c478bd9Sstevel@tonic-gate>0	ubyte		>077		dynamically linked
1907c478bd9Sstevel@tonic-gate# little-endian entries for Sun demand paged executables
1917c478bd9Sstevel@tonic-gate2	short		05401		Sun demand paged
1927c478bd9Sstevel@tonic-gate>1	byte		0		sun2 executable
1937c478bd9Sstevel@tonic-gate>1	byte		1		mc68010 executable
1947c478bd9Sstevel@tonic-gate>1	byte		2		mc68020 executable
1957c478bd9Sstevel@tonic-gate>1	byte		3		SPARC executable
1967c478bd9Sstevel@tonic-gate>0	ubyte		>077		dynamically linked
1977c478bd9Sstevel@tonic-gate0	short		0x8001		Adobe PostScript Type 1 binary font (PFB)
1987c478bd9Sstevel@tonic-gate0	short		0x0180		Adobe PostScript Type 1 binary font (PFB)
1997c478bd9Sstevel@tonic-gate0	long		0x00010000	TrueType font file version 1.0 (TTF)
2007c478bd9Sstevel@tonic-gate0	long		0x00000100	TrueType font file version 1.0 (TTF)
2017c478bd9Sstevel@tonic-gate0	long		0xf00000ff	extended accounting file
2027c478bd9Sstevel@tonic-gate# little-endian entry
2037c478bd9Sstevel@tonic-gate0	long		0xff0000f0	extended accounting file
2047c478bd9Sstevel@tonic-gate0	byte		0x80		8086 relocatable (Microsoft)
2057c478bd9Sstevel@tonic-gate0	byte		0xf0		MS-DOS library
2067c478bd9Sstevel@tonic-gate0	short		0xff65		x.out
2077c478bd9Sstevel@tonic-gate>2	string		__.SYMDEF	randomized
2087c478bd9Sstevel@tonic-gate>0	byte		x		archive
2097c478bd9Sstevel@tonic-gate0	short		0x206		Microsoft a.out
2107c478bd9Sstevel@tonic-gate>0x1e	short		&0x10		overlay
2117c478bd9Sstevel@tonic-gate>0x1e	short		&0x2		separate
2127c478bd9Sstevel@tonic-gate>0x1e	short		&0x4		pure
2137c478bd9Sstevel@tonic-gate>0x1e	short		&0x800		segmented
2147c478bd9Sstevel@tonic-gate>0x1e	short		&0x400		standalone
2157c478bd9Sstevel@tonic-gate>0x1e	short		&0x8		fixed-stack
2167c478bd9Sstevel@tonic-gate>0x1c	byte		&0x80		byte-swapped
2177c478bd9Sstevel@tonic-gate>0x1c	byte		&0x40		word-swapped
2187c478bd9Sstevel@tonic-gate>0x10	long		>0		not-stripped
2197c478bd9Sstevel@tonic-gate>0x1e	short		^0xc000		pre-SysV
2207c478bd9Sstevel@tonic-gate>0x1c	byte		&0x4		86
2217c478bd9Sstevel@tonic-gate>0x1c	byte		&0x9		286
2227c478bd9Sstevel@tonic-gate>0x1c	byte		&0xa		386
2237c478bd9Sstevel@tonic-gate>0x1e	short		&0x1		executable
2247c478bd9Sstevel@tonic-gate>0x1e	short		^0x1		object file
2257c478bd9Sstevel@tonic-gate>0x1e	short		&0x40		Large Text
2267c478bd9Sstevel@tonic-gate>0x1e	short		&0x20		Large Data
2277c478bd9Sstevel@tonic-gate>0x1e	short		&0x120		Huge Objects Enabled
2287c478bd9Sstevel@tonic-gate0	short		0x10b		VAX demand load format a.out object file
2297c478bd9Sstevel@tonic-gate>0x10	long		>0		not stripped
2307c478bd9Sstevel@tonic-gate0	short		0x140		old Microsoft 8086 x.out
2317c478bd9Sstevel@tonic-gate>0x3	byte		&0x4		separate
2327c478bd9Sstevel@tonic-gate>0x3	byte		&0x2		pure
2337c478bd9Sstevel@tonic-gate>0	byte		&0x1		executable
2347c478bd9Sstevel@tonic-gate>0	byte		^0x1		relocatable
2357c478bd9Sstevel@tonic-gate>0x14	long		>0		not stripped
2367c478bd9Sstevel@tonic-gate0	long		0x10b		VAX demand load format a.out object file
2377c478bd9Sstevel@tonic-gate>0x10	long		>0		not stripped
2387c478bd9Sstevel@tonic-gate0	long		0x140		old Microsoft 8086 x.out
2397c478bd9Sstevel@tonic-gate>0x3	byte		&0x4		separate
2407c478bd9Sstevel@tonic-gate>0x3	byte		&0x2		pure
2417c478bd9Sstevel@tonic-gate>0	byte		&0x1		executable
2427c478bd9Sstevel@tonic-gate>0	byte		^0x1		relocatable
2437c478bd9Sstevel@tonic-gate>0x14	long		>0		not stripped
2447c478bd9Sstevel@tonic-gate0	long		0xe807		object file (z8000 a.out)
2457c478bd9Sstevel@tonic-gate0	long		0xe808		pure object file (z8000 a.out)
2467c478bd9Sstevel@tonic-gate0	long		0xe809		separate object file (z8000 a.out)
2477c478bd9Sstevel@tonic-gate0	long		0xe805		overlay object file (z8000 a.out)
2487c478bd9Sstevel@tonic-gate0	long		0x178		Bell 5.0 executable
2497c478bd9Sstevel@tonic-gate2	short		0410		Sun read-only text executable
2507c478bd9Sstevel@tonic-gate>2	short		0407		Sun old executable
2517c478bd9Sstevel@tonic-gate>1	byte		3		(SPARC)
2527c478bd9Sstevel@tonic-gate>1	byte		2		(68020)
2537c478bd9Sstevel@tonic-gate>1	byte		1		(68010)
2547c478bd9Sstevel@tonic-gate>1	byte		0		(Sun2)
2557c478bd9Sstevel@tonic-gate0	short		0143561		byte-swapped cpio archive
2567c478bd9Sstevel@tonic-gate0	long		0101555		PDP-11 single precision APL workspace
2577c478bd9Sstevel@tonic-gate0	long		0101554		PDP-11 double precision APL workspace
2587c478bd9Sstevel@tonic-gate0	long		0101557		VAX single precision APL workspace
2597c478bd9Sstevel@tonic-gate0	long		0101556		VAX double precision APL workspace
2607c478bd9Sstevel@tonic-gate0	short		017437		old packed data
2617c478bd9Sstevel@tonic-gate0	string		\037\036	packed data
2627c478bd9Sstevel@tonic-gate0	string		\377\037	compacted data
2637c478bd9Sstevel@tonic-gate0	string		\037\235	compressed data
2647c478bd9Sstevel@tonic-gate>2	byte&0x80	>0		block compressed
2657c478bd9Sstevel@tonic-gate>2	byte&0x1f	x		%d bits
2667c478bd9Sstevel@tonic-gate0	string		\037\213	gzip compressed data
2677c478bd9Sstevel@tonic-gate>2	byte		8		- deflate method
2687c478bd9Sstevel@tonic-gate>3	byte		&0x1		, ascii
2697c478bd9Sstevel@tonic-gate>3	byte		&0x2		, continuation
2707c478bd9Sstevel@tonic-gate>3	byte		&0x4		, extra field
2717c478bd9Sstevel@tonic-gate>3	byte		&0x8		, original file name
2727c478bd9Sstevel@tonic-gate>3	byte		&0x10		, comment
2737c478bd9Sstevel@tonic-gate>3	byte		&0x20		, encrypted
2747c478bd9Sstevel@tonic-gate>8	byte		2		, max compression
2757c478bd9Sstevel@tonic-gate>8	byte		4		, max speed
2767c478bd9Sstevel@tonic-gate0	string		!<arch>\n__.SYMDEF	archive random library
2777c478bd9Sstevel@tonic-gate0	long		0x1010101	MMDF mailbox
2787c478bd9Sstevel@tonic-gate0	string		<!OPS		Interleaf ASCII document
2797c478bd9Sstevel@tonic-gate24	string		SunGKS		SunGKS
2807c478bd9Sstevel@tonic-gate# version number follows, in the form m.n
2817c478bd9Sstevel@tonic-gate>0	string		GKSM		Metafile
2827c478bd9Sstevel@tonic-gate0	string		GKSM		GKS Metafile
2837c478bd9Sstevel@tonic-gate# version number follows, in the form <!OPS, Version n.n>
2847c478bd9Sstevel@tonic-gate0	string		%!PS-AdobeFont	Adobe PostScript ASCII font (PFA)
2857c478bd9Sstevel@tonic-gate0	string		%!		PostScript document
2867c478bd9Sstevel@tonic-gate>2	string		PS-Adobe	 conforming to level
2877c478bd9Sstevel@tonic-gate>10	string		-1.0		 1.0
2887c478bd9Sstevel@tonic-gate>10	string		-2.0		 2.0
2897c478bd9Sstevel@tonic-gate>10	string		-3.0		 3.0
290f1da2ee0SRich Burridge# Handle Microsoft PostScript files (CTRL-D%!)
291f1da2ee0SRich Burridge0	string		\004%!		PostScript document text
2927c478bd9Sstevel@tonic-gate# version ID follows, in the form PS-Adobe-nn
2937c478bd9Sstevel@tonic-gate0	string		Interpress/Xerox	Interpress document
2947c478bd9Sstevel@tonic-gate# version ID follows, in the form /n.n
2957c478bd9Sstevel@tonic-gate0	string		StartFontMetrics	Adobe font metrics
2967c478bd9Sstevel@tonic-gate0	string		StartFont	Adobe font bits
2977c478bd9Sstevel@tonic-gate0	long		0x137A2944	NeWS bitmap font
2987c478bd9Sstevel@tonic-gate0	long		0x137A2947	NeWS font family
2997c478bd9Sstevel@tonic-gate8	long		0x137A2B45	X11/NeWS bitmap font
3007c478bd9Sstevel@tonic-gate8	long		0x137A2B48	X11/NeWS font family
3017c478bd9Sstevel@tonic-gate# snoop files are always big-endian
3027c478bd9Sstevel@tonic-gate# big-endian entries, with ullong equivalent of string "snoop"
3037c478bd9Sstevel@tonic-gate0	ullong		0x736e6f6f70000000	Snoop capture file
3047c478bd9Sstevel@tonic-gate>8	long		>0		- version %ld
3057c478bd9Sstevel@tonic-gate# little-endian entries, with ullong equivalent of string "snoop"
3067c478bd9Sstevel@tonic-gate0	ullong		0x000000706f6f6e73	Snoop capture file
3077c478bd9Sstevel@tonic-gate>11	long		>0		- version %ld
3087c478bd9Sstevel@tonic-gate0	short		0436		vfont definition
3097c478bd9Sstevel@tonic-gate0	string		<MakerFile	Frame Maker document
3107c478bd9Sstevel@tonic-gate0	string		<MIFFile	Frame Maker MIF file
3117c478bd9Sstevel@tonic-gate0	string		<MML		Frame Maker MML file
3127c478bd9Sstevel@tonic-gate0	string		<BookFile	Frame Maker book file
3137c478bd9Sstevel@tonic-gate# Audio files are always big-endian so there are two sets of tables here.
3147c478bd9Sstevel@tonic-gate# The CPU endian architecture is determined via the ordering of the first 4 bytes
3157c478bd9Sstevel@tonic-gate# (the string ".snd"). The tables below have this value represented as a single
3167c478bd9Sstevel@tonic-gate# 4 byte long. If the architecture is big-endian the %d token can be used for
3177c478bd9Sstevel@tonic-gate# interpreting the sampling rate.
3187c478bd9Sstevel@tonic-gate# Since %d can't be done on the data for little endian machines the limitation
3197c478bd9Sstevel@tonic-gate# is that sampling rates not included in the x86 entries will not be recognized.
3207c478bd9Sstevel@tonic-gate#
3217c478bd9Sstevel@tonic-gate# big-endian entries
3227c478bd9Sstevel@tonic-gate#
3237c478bd9Sstevel@tonic-gate0	long		0x2e736e64	audio data:
3247c478bd9Sstevel@tonic-gate>12	long		1		8-bit u-law,
3257c478bd9Sstevel@tonic-gate>12	long		2		8-bit linear PCM,
3267c478bd9Sstevel@tonic-gate>12	long		3		16-bit linear PCM,
3277c478bd9Sstevel@tonic-gate>12	long		4		24-bit linear PCM,
3287c478bd9Sstevel@tonic-gate>12	long		5		32-bit linear PCM,
3297c478bd9Sstevel@tonic-gate>12	long		6		32-bit floating point,
3307c478bd9Sstevel@tonic-gate>12	long		7		64-bit floating point,
3317c478bd9Sstevel@tonic-gate>12	long		23		compressed (4-bit G.721 ADPCM),
3327c478bd9Sstevel@tonic-gate>12	long		24		compressed (8-bit G.722 ADPCM),
3337c478bd9Sstevel@tonic-gate>12	long		25		compressed (3-bit G.723 ADPCM),
3347c478bd9Sstevel@tonic-gate>12	long		26		compressed (5-bit G.723 ADPCM),
3357c478bd9Sstevel@tonic-gate>12	long		27		8-bit A-law,
3367c478bd9Sstevel@tonic-gate>20	long		1		mono,
3377c478bd9Sstevel@tonic-gate>20	long		2		stereo,
3387c478bd9Sstevel@tonic-gate>20	long		4		quad,
3397c478bd9Sstevel@tonic-gate>16	long		x		%d Hz
3407c478bd9Sstevel@tonic-gate#
3417c478bd9Sstevel@tonic-gate# little-endian entries
3427c478bd9Sstevel@tonic-gate#
3437c478bd9Sstevel@tonic-gate0	long		0x646e732e	audio data:
3447c478bd9Sstevel@tonic-gate>12	long		0x01000000	8-bit u-law,
3457c478bd9Sstevel@tonic-gate>12	long		0x02000000	8-bit linear PCM,
3467c478bd9Sstevel@tonic-gate>12	long		0x03000000	16-bit linear PCM,
3477c478bd9Sstevel@tonic-gate>12	long		0x04000000	24-bit linear PCM,
3487c478bd9Sstevel@tonic-gate>12	long		0x05000000	32-bit linear PCM,
3497c478bd9Sstevel@tonic-gate>12	long		0x06000000	32-bit floating point,
3507c478bd9Sstevel@tonic-gate>12	long		0x07000000	64-bit floating point,
3517c478bd9Sstevel@tonic-gate>12	long		0x17000000	compressed (4-bit G.721 ADPCM),
3527c478bd9Sstevel@tonic-gate>12	long		0x18000000	compressed (8-bit G.722 ADPCM),
3537c478bd9Sstevel@tonic-gate>12	long		0x19000000	compressed (3-bit G.723 ADPCM),
3547c478bd9Sstevel@tonic-gate>12	long		0x1a000000	compressed (5-bit G.723 ADPCM),
3557c478bd9Sstevel@tonic-gate>12	long		0x1b000000	8-bit A-law,
3567c478bd9Sstevel@tonic-gate>20	long		0x01000000	mono,
3577c478bd9Sstevel@tonic-gate>20	long		0x02000000	stereo,
3587c478bd9Sstevel@tonic-gate>20	long		0x04000000	quad,
3597c478bd9Sstevel@tonic-gate>16	long		0x401f0000	8000 Hz
3607c478bd9Sstevel@tonic-gate>16	long		0x80250000	9600 Hz
3617c478bd9Sstevel@tonic-gate>16	long		0x112b0000	11025 Hz
3627c478bd9Sstevel@tonic-gate>16	long		0x803e0000	16000 Hz
3637c478bd9Sstevel@tonic-gate>16	long		0xd4490000	18900 Hz
3647c478bd9Sstevel@tonic-gate>16	long		0x22560000	22050 Hz
3657c478bd9Sstevel@tonic-gate>16	long		0x007d0000	32000 Hz
3667c478bd9Sstevel@tonic-gate>16	long		0xa8930000	37800 Hz
3677c478bd9Sstevel@tonic-gate>16	long		0x44ac0000	44100 Hz
3687c478bd9Sstevel@tonic-gate>16	long		0x80bb0000	48000 Hz
3697c478bd9Sstevel@tonic-gate# .wav files are always little-endian
3707c478bd9Sstevel@tonic-gate# .wav big-endian entries, starting with long value for the string "RIFF"
3717c478bd9Sstevel@tonic-gate0	long		0x52494646	audio data:
3727c478bd9Sstevel@tonic-gate>34	short		0x0800		8-bit
3737c478bd9Sstevel@tonic-gate>34	short		0x1000		16-bit
3747c478bd9Sstevel@tonic-gate>20	short		0x0100		linear PCM,
3757c478bd9Sstevel@tonic-gate>20	short		0x0200		MS ADPCM,
3767c478bd9Sstevel@tonic-gate>20	short		0x0600		A-law,
3777c478bd9Sstevel@tonic-gate>20	short		0x0700		u-law,
3787c478bd9Sstevel@tonic-gate>20	short		0x1100		DVI ADPCM,
3797c478bd9Sstevel@tonic-gate>22	short		0x0100		mono
3807c478bd9Sstevel@tonic-gate>22	short		0x0200		stereo
3817c478bd9Sstevel@tonic-gate# .wav little-endian entries, starting with long value for the string "RIFF"
3827c478bd9Sstevel@tonic-gate0	long		0x46464952	audio data:
3837c478bd9Sstevel@tonic-gate>34	short		0x0008		8-bit
3847c478bd9Sstevel@tonic-gate>34	short		0x0010		16-bit
3857c478bd9Sstevel@tonic-gate>20	short		0x0001		linear PCM,
3867c478bd9Sstevel@tonic-gate>20	short		0x0002		MS ADPCM,
3877c478bd9Sstevel@tonic-gate>20	short		0x0006		A-law,
3887c478bd9Sstevel@tonic-gate>20	short		0x0007		u-law,
3897c478bd9Sstevel@tonic-gate>20	short		0x0011		DVI ADPCM,
3907c478bd9Sstevel@tonic-gate>22	short		0x0001		mono
3917c478bd9Sstevel@tonic-gate>22	short		0x0002		stereo
3927c478bd9Sstevel@tonic-gate# .aiff files are always big-endian
3937c478bd9Sstevel@tonic-gate# .aiff big-endian entries, starting with long value for the string "FORM"
3947c478bd9Sstevel@tonic-gate0	long		0x464f524d	audio data:
3957c478bd9Sstevel@tonic-gate>26	short		0x0008		8-bit linear PCM,
3967c478bd9Sstevel@tonic-gate>26	short		0x0010		16-bit linear PCM,
3977c478bd9Sstevel@tonic-gate>20	short		0x0001		mono
3987c478bd9Sstevel@tonic-gate>20	short		0x0002		stereo
3997c478bd9Sstevel@tonic-gate# .aiff little-endian entries, starting with long value for the string "FORM"
4007c478bd9Sstevel@tonic-gate0	long		0x4d524f46	audio data:
4017c478bd9Sstevel@tonic-gate>26	short		0x0800		8-bit linear PCM,
4027c478bd9Sstevel@tonic-gate>26	short		0x1000		16-bit linear PCM,
4037c478bd9Sstevel@tonic-gate>20	short		0x0100		mono
4047c478bd9Sstevel@tonic-gate>20	short		0x0200		stereo
4057c478bd9Sstevel@tonic-gate# .mid files are always big-endian
4067c478bd9Sstevel@tonic-gate# .mid big-endian entries, starting with long value for the string "MThd"
4077c478bd9Sstevel@tonic-gate0	long		0x4d546864	MIDI data:
4087c478bd9Sstevel@tonic-gate>8	short		x		type %u,
4097c478bd9Sstevel@tonic-gate>10	short		x		%u track(s)
4107c478bd9Sstevel@tonic-gate# .mid little-endian entry (the string "MThd")
4117c478bd9Sstevel@tonic-gate# can't translate big-endian type and track information
4127c478bd9Sstevel@tonic-gate0	long		0x6468544d	MIDI data
4137c478bd9Sstevel@tonic-gate#
4147c478bd9Sstevel@tonic-gate0	short		0x1010		PEX Binary Archive
4157c478bd9Sstevel@tonic-gate# rasterfiles are big-endian
4167c478bd9Sstevel@tonic-gate# big-endian rasterfile entries
4177c478bd9Sstevel@tonic-gate0	long		0x59a66a95	rasterfile,
4187c478bd9Sstevel@tonic-gate>4	long		>0		%ld x
4197c478bd9Sstevel@tonic-gate>8	long		>0		%ld x
4207c478bd9Sstevel@tonic-gate>12	long		>0		%ld
4217c478bd9Sstevel@tonic-gate>20	long		0		old format image
4227c478bd9Sstevel@tonic-gate>20	long		1		standard format image
4237c478bd9Sstevel@tonic-gate>20	long		2		run-length byte encoded image
4247c478bd9Sstevel@tonic-gate>20	long		3		XRGB or RGB format image
4257c478bd9Sstevel@tonic-gate>20	long		4		tiff format image
42661de0de2SAndy Fiddaman>20	long		5		iff (TAAC format) image
4277c478bd9Sstevel@tonic-gate>20	long		0xffff		experimental format image
4287c478bd9Sstevel@tonic-gate# little-endian rasterfile entries
4297c478bd9Sstevel@tonic-gate# cannot translate resolution stored as big-endian longs
4307c478bd9Sstevel@tonic-gate0	long		0x956aa659	rasterfile,
4317c478bd9Sstevel@tonic-gate>23	long		0		old format image
4327c478bd9Sstevel@tonic-gate>23	long		1		standard format image
4337c478bd9Sstevel@tonic-gate>23	long		2		run-length byte encoded image
4347c478bd9Sstevel@tonic-gate>23	long		3		XRGB or RGB format image
4357c478bd9Sstevel@tonic-gate>23	long		4		tiff format image
43661de0de2SAndy Fiddaman>23	long		5		iff (TAAC format) image
4377c478bd9Sstevel@tonic-gate>20	long		0xffff		experimental format image
4387c478bd9Sstevel@tonic-gate0	long		0x884f5053	Interleaf fast-saved document
4397c478bd9Sstevel@tonic-gate0	long		0x2a535441	Aster*x
4407c478bd9Sstevel@tonic-gate>7	long		0x574f5244		Words Document
4417c478bd9Sstevel@tonic-gate>7	long		0x47524150		Graphic
4427c478bd9Sstevel@tonic-gate>7	long		0x53505245		Spreadsheet
4437c478bd9Sstevel@tonic-gate>7	long		0x4d414352		Macro
4447c478bd9Sstevel@tonic-gate0	long		0x32323738	Aster*x Version 2
4457c478bd9Sstevel@tonic-gate>29	byte		0x36			Words Document
4467c478bd9Sstevel@tonic-gate>29	byte		0x35			Graphic
4477c478bd9Sstevel@tonic-gate>29	byte		0x32			Spreadsheet
4487c478bd9Sstevel@tonic-gate>29	byte		0x38			Macro
4497c478bd9Sstevel@tonic-gate4	string		pgscriptver	IslandWrite document
4507c478bd9Sstevel@tonic-gate13	string		DrawFile	IslandDraw document
4517c478bd9Sstevel@tonic-gate0	string		P1		PBM ascii file
4527c478bd9Sstevel@tonic-gate0	string		P2		PGM ascii file
4537c478bd9Sstevel@tonic-gate0	string		P3		PPM ascii file
4547c478bd9Sstevel@tonic-gate0	string		P4		PBM raw file
4557c478bd9Sstevel@tonic-gate0	string		P5		PGM raw file
4567c478bd9Sstevel@tonic-gate0	string		P6		PPM raw file
4577c478bd9Sstevel@tonic-gate0	string		\115\115	TIFF file, big-endian
4587c478bd9Sstevel@tonic-gate0	string		\111\111	TIFF file, little-endian
4597c478bd9Sstevel@tonic-gate0	string		GIF87a		GIF file, v87
4607c478bd9Sstevel@tonic-gate0	string		GIF89a		GIF file, v89
4617c478bd9Sstevel@tonic-gate0	string		\377\330\377\340	JPEG file
4627c478bd9Sstevel@tonic-gate0	string		\377\330\377\341	JPEG file
4637c478bd9Sstevel@tonic-gate0	string		\377\330\377\356	JPG file
4647c478bd9Sstevel@tonic-gate8	string		ILBM		IFF ILBM file
4657c478bd9Sstevel@tonic-gate0	string		\312\376\272\276	java class file
4667c478bd9Sstevel@tonic-gate36	string		acsp	Kodak Color Management System, ICC Profile
46761de0de2SAndy Fiddaman0	string		%PDF		Adobe Portable Document Format (PDF)
4687c478bd9Sstevel@tonic-gate>4	string		-1.0		v1.0
4697c478bd9Sstevel@tonic-gate>4	string		-1.1		v1.1
4707c478bd9Sstevel@tonic-gate>4	string		-1.2		v1.2
4717c478bd9Sstevel@tonic-gate>4	string		-1.3		v1.3
4727c478bd9Sstevel@tonic-gate>4	string		-1.4		v1.4
4737c478bd9Sstevel@tonic-gate>4	string		-1.5		v1.5
4747c478bd9Sstevel@tonic-gate0	string		<html		html document
4757c478bd9Sstevel@tonic-gate0	string		<HTML		html document
4767c478bd9Sstevel@tonic-gate0	string		<Html		html document
4777c478bd9Sstevel@tonic-gate0	string		<!doctype HTML	html document
4787c478bd9Sstevel@tonic-gate0	string		<!doctype Html	html document
4797c478bd9Sstevel@tonic-gate0	string		<!doctype html	html document
4807c478bd9Sstevel@tonic-gate0	string		<!DOCTYPE HTML	html document
4817c478bd9Sstevel@tonic-gate0	string		<!DOCTYPE Html	html document
4827c478bd9Sstevel@tonic-gate0	string		<!DOCTYPE html	html document
4837c478bd9Sstevel@tonic-gate0	string		<!Doctype HTML	html document
4847c478bd9Sstevel@tonic-gate0	string		<!Doctype Html	html document
4857c478bd9Sstevel@tonic-gate0	string		<!Doctype html	html document
4867c478bd9Sstevel@tonic-gate0	string		<head		html document
4877c478bd9Sstevel@tonic-gate0	string		<HEAD		html document
4887c478bd9Sstevel@tonic-gate0	string		<Head		html document
4897c478bd9Sstevel@tonic-gate0	string		<title		html document
4907c478bd9Sstevel@tonic-gate0	string		<TITLE		html document
4917c478bd9Sstevel@tonic-gate0	string		<Title		html document
4927c478bd9Sstevel@tonic-gate0	string		<?xml		XML document
4937c478bd9Sstevel@tonic-gate0	string		<?XML		XML document
4947c478bd9Sstevel@tonic-gate0	string		<?Xml		XML document
4957c478bd9Sstevel@tonic-gate0	string		\0211PNG	PNG image data
4967c478bd9Sstevel@tonic-gate0	string		.RMF		RealMedia file
4977c478bd9Sstevel@tonic-gate0	string		FlAsH-aRcHiVe	Flash Archive
4987c478bd9Sstevel@tonic-gate>13	string		-1.0		 1.0
4997c478bd9Sstevel@tonic-gate>13	string		-2.0		 2.0
5007c478bd9Sstevel@tonic-gate38	string		application/vnd.sun.xml.writer	StarOffice 7 Text Document
5017c478bd9Sstevel@tonic-gate38	string		application/vnd.sun.xml.calc	StarOffice 7 Spreadsheet
5027c478bd9Sstevel@tonic-gate38	string		application/vnd.sun.xml.draw	StarOffice 7 Drawing
5037c478bd9Sstevel@tonic-gate38	string		application/vnd.sun.xml.impress	StarOffice 7 Presentation
5047c478bd9Sstevel@tonic-gate38	string		application/vnd.sun.xml.math	StarOffice 7 Formula
5057c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.chart	OpenDocument Chart
5067c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.database	OpenDocument Database
5077c478bd9Sstevel@tonic-gate38	string		application/vnd.sun.xml.base			OpenDocument Database
5087c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.formula	OpenDocument Formula
5097c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.image	OpenDocument Image
5107c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.text-web	HTML Document Template
5117c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.text-	OpenDocument
5127c478bd9Sstevel@tonic-gate>78	string		template						Text Template
5137c478bd9Sstevel@tonic-gate>78	string		master							Master Document
5147c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.text		OpenDocument Text
5157c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.graphics	OpenDocument Drawing
5167c478bd9Sstevel@tonic-gate>81	string		-template						Template
5177c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.presentation	OpenDocument Presentation
5187c478bd9Sstevel@tonic-gate>85	string		-template						Template
5197c478bd9Sstevel@tonic-gate38	string		application/vnd.oasis.opendocument.spreadsheet	OpenDocument Spreadsheet
5207c478bd9Sstevel@tonic-gate>84	string		-template						Template
5217c478bd9Sstevel@tonic-gate0	string		PK\003\004	ZIP archive
5227c478bd9Sstevel@tonic-gate0	string		MZ		DOS executable (EXE)
5237c478bd9Sstevel@tonic-gate0	string		LZ		DOS built-in
5247c478bd9Sstevel@tonic-gate0	byte		0xe9		DOS executable (COM)
5257c478bd9Sstevel@tonic-gate0	byte		0xeb		DOS executable (COM)
5267c2fbfb3SApril Chin0	string		\013\023\010\000	ksh compiled shell script executable
5277c478bd9Sstevel@tonic-gate24	long		60012		ufsdump archive file
5287c478bd9Sstevel@tonic-gate0	string		TZif		zoneinfo timezone data file
5297c478bd9Sstevel@tonic-gate0	string		BZh		bzip2 compressed data
5307c478bd9Sstevel@tonic-gate>3	byte		>47		, block size = %c00k
53161de0de2SAndy Fiddaman0	ulong		0xfd2fb528	Zstandard compressed file
5327c478bd9Sstevel@tonic-gate0	string		SUNWcpch	Sun C compiler precompiled header
5337c478bd9Sstevel@tonic-gate0	string		SUNWCpch	Sun C++ compiler precompiled header
5347c478bd9Sstevel@tonic-gate0	string		\043\040PaCkAgE\040DaTaStReAm	package datastream
5357c478bd9Sstevel@tonic-gate0	short		0xcff1		CTF data file
5367c478bd9Sstevel@tonic-gate0	string		\177DOF		DTrace DOF data file
537*bbf21555SRichard Lowe0	string		\177FCF		fmd(8) checkpoint file
5387c478bd9Sstevel@tonic-gate0	string		EFT\0		Fault tree file,
5397c478bd9Sstevel@tonic-gate>4	ushort		x		v%u
5407c478bd9Sstevel@tonic-gate>6	ushort		x		rev %u,
5417c478bd9Sstevel@tonic-gate>8	ushort		x		from esc v%u
5427c478bd9Sstevel@tonic-gate>10	ushort		x		rev %u
54384ab085aSmws0	string		_SM_		DMTF SMBIOS image
54484ab085aSmws>6	byte		x		version %u
54584ab085aSmws>7	byte		x		.%u
546405e5d68Stz0	byte		0x11		Solaris Audit File
54761de0de2SAndy Fiddaman0	byte		0x78		Solaris Audit File
548341ef43bSmmusante# ZFS send stream entries
549341ef43bSmmusante8	ullong		0x00000002f5bacbac	ZFS snapshot stream
550341ef43bSmmusante# little endian stream
551341ef43bSmmusante8	ullong		0xaccbbaf502000000	ZFS snapshot stream
552ea51a530Sny
553ea51a530Sny
554ea51a530Sny# Video files
555ea51a530Sny2	string		\001\272\041	MPEG Movie file
556ea51a530Sny0	string		\377\375	MPEG-1 Audio Layer 2
557ea51a530Sny0	string		\377\373	MPEG-1 Audio Layer 3
558ea51a530Sny0	string		\377\372	MPEG-1 Audio Layer 3
559ea51a530Sny0	string		\111\104\063	MPEG-1 Layer 3 with ID3v2
560ea51a530Sny
561ea51a530Sny# AVI and GVI files
562ea51a530Sny20	string	hdrlavih	RIFF Avi Video
563ea51a530Sny>36	ulong	>0		%u Max Bps,
564ea51a530Sny>64	ushort	x		%u X
565ea51a530Sny>68	ushort	x		%u,
566ea51a530Sny>48	ulong	x		%u frames
567ea51a530Sny
568ea51a530Sny20	string	goog		RIFF gvi
569ea51a530Sny>88	ulong	>0		%u Max Bps
570ea51a530Sny>116	ushort	x		%u X
571ea51a530Sny>120	ushort	x		%u,
572ea51a530Sny>100	ulong	x		%u frames
573ea51a530Sny
574ea51a530Sny# JPEG 2000 - jp2 image file.
575ea51a530Sny3	string		\014\152\120\040\040	JPEG 2000 Image file
576ea51a530Sny
577ea51a530Sny# iso 9660 CD-ROM image and El Torito Bootable standard
578ea51a530Sny32769	string		CD\0		ISO 9660 filesystem image
579ea51a530Sny>34823	string		EL\040TORITO	- El Torito
580ea51a530Sny
581ea51a530Sny# Palm Pilot files .pdb and .prc of some type.
582ea51a530Sny0x3c	string	TEXtREAd		Palm DOC file
583ea51a530Sny0x3c	string	SDocSilX		iSilo 3 Doc file for PalmPilot
584ea51a530Sny0x3c	string	applSil			iSilo Application file
585ea51a530Sny0x3c	string	appl			Palm Pilot Application
586ea51a530Sny0x3c	string	ToGoToGo		iSilo Doc file for Palm Pilot
587ea51a530Sny
588ea51a530Sny#SGI files with .rgb extention
589ea51a530Sny0	string	\001\332			SGI Image data,
590ea51a530Sny>2	byte	1			RLE,
591ea51a530Sny>2	byte	0			Verbatim,
592ea51a530Sny>5	ubyte	x			%u-D
593ea51a530Sny>7	ubyte	x			%u x
59461de0de2SAndy Fiddaman>9	ubyte	x			%u,
595ea51a530Sny>11	ubyte	x			%u channel(s)
596ea51a530Sny
597f1da2ee0SRich Burridge2048	string		PCD_IPI		Kodak Photo CD image pack file
598f1da2ee0SRich Burridge>0xe02	byte&0x03	0x00		, landscape mode
599f1da2ee0SRich Burridge>0xe02	byte&0x03	0x01		, portrait mode
600f1da2ee0SRich Burridge>0xe02	byte&0x03	0x02		, landscape mode
601f1da2ee0SRich Burridge>0xe02	byte&0x03	0x03		, portrait mode
602f1da2ee0SRich Burridge0	string		PCD_OPA		Kodak Photo CD overview pack file
603f1da2ee0SRich Burridge
604ea51a530Sny# MS Documents. Not much info available.
605ea51a530Sny0	string	\320\317\021\340\241\261\032\341	Microsoft
606ea51a530Sny>546	string	bjbj					Word
607ea51a530Sny>0	byte	<0					Document
608ea51a530Sny0	string	{\\rtf		Microsoft Rich Text Format Document
609ea51a530Sny
610ea51a530Sny# mp4 media format with different media files embedded in it
611ea51a530Sny4	string	ftyp		MPEG-4
612ea51a530Sny>8	string	isom		Base Media v1 [IS0 14496-12:2003]
613ea51a530Sny>8	string	iso2		Base Media v2 [ISO 14496-12:2005]
614ea51a530Sny>8	string	m4a\040		Apple iTunes AAC-LC (.M4A) Audio
615ea51a530Sny>8	string	m4v\040		Apple iTunes (.M4V) Video
616ea51a530Sny>8	string	qt		Apple QuickTime (.MOV/QT)
617ea51a530Sny>8	string	jp2		JPEG 2000 Image
618ea51a530Sny>8	string	jpm		JPEG 2000 Compound Image (.JPM) [ISO 15444-6]
619ea51a530Sny>8	string	jpx		JPEG 2000 w/ extensions (.JPX) [ISO 15444-2]
620ea51a530Sny>8	string	mp42		v2 [ISO 14496-14]
621ea51a530Sny4	string	moov		QuickTime MOV file
622506ea5b8SMilan Jurik
623506ea5b8SMilan Jurik0	string		\375\067\172\130\132\000	xz compressed data
624