xref: /freebsd/contrib/file/magic/Magdir/sgi (revision 2dc4dbb9673c9a3309c2dad59cb588c6f04beaea)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*2dc4dbb9SEitan Adler# $File: sgi,v 1.23 2018/05/29 02:26:56 christos Exp $
4b6cee71dSXin LI# sgi:  file(1) magic for Silicon Graphics operating systems and applications
5b6cee71dSXin LI#
6b6cee71dSXin LI# Executable images are handled either in aout (for old-style a.out
7b6cee71dSXin LI# files for 68K; they are indistinguishable from other big-endian 32-bit
8b6cee71dSXin LI# a.out files) or in mips (for MIPS ECOFF and Ucode files)
9b6cee71dSXin LI#
10b6cee71dSXin LI
11b6cee71dSXin LI# kbd file definitions
12b6cee71dSXin LI0	string	kbd!map		kbd map file
13b6cee71dSXin LI>8	byte	>0		Ver %d:
14b6cee71dSXin LI>10	short	>0		with %d table(s)
15b6cee71dSXin LI
16b6cee71dSXin LI0	beshort	0x8765		disk quotas file
17b6cee71dSXin LI
18b6cee71dSXin LI0	beshort	0x0506		IRIS Showcase file
19b6cee71dSXin LI>2	byte	0x49		-
20b6cee71dSXin LI>3	byte	x		- version %d
21b6cee71dSXin LI0	beshort	0x0226		IRIS Showcase template
22b6cee71dSXin LI>2	byte	0x63		-
23b6cee71dSXin LI>3	byte	x		- version %d
24b6cee71dSXin LI0	belong	0x5343464d	IRIS Showcase file
25b6cee71dSXin LI>4	byte	x		- version %d
26b6cee71dSXin LI0	belong	0x5443464d	IRIS Showcase template
27b6cee71dSXin LI>4	byte	x		- version %d
28b6cee71dSXin LI0	belong	0xdeadbabe	IRIX Parallel Arena
29b6cee71dSXin LI>8	belong	>0		- version %d
30b6cee71dSXin LI
31b6cee71dSXin LI# core files
32b6cee71dSXin LI#
33b6cee71dSXin LI# 32bit core file
34b6cee71dSXin LI0	belong	0xdeadadb0	IRIX core dump
35b6cee71dSXin LI>4	belong	1		of
36b6cee71dSXin LI>16	string	>\0		'%s'
37b6cee71dSXin LI# 64bit core file
38b6cee71dSXin LI0	belong	0xdeadad40	IRIX 64-bit core dump
39b6cee71dSXin LI>4	belong	1		of
40b6cee71dSXin LI>16	string	>\0		'%s'
41b6cee71dSXin LI# N32bit core file
42b6cee71dSXin LI0       belong	0xbabec0bb	IRIX N32 core dump
43b6cee71dSXin LI>4      belong	1               of
44b6cee71dSXin LI>16     string	>\0             '%s'
45b6cee71dSXin LI# New style crash dump file
46b6cee71dSXin LI0	string	\x43\x72\x73\x68\x44\x75\x6d\x70	IRIX vmcore dump of
47b6cee71dSXin LI>36	string	>\0					'%s'
48b6cee71dSXin LI
49b6cee71dSXin LI# Trusted IRIX info
50b6cee71dSXin LI0	string	SGIAUDIT	SGI Audit file
51b6cee71dSXin LI>8	byte	x		- version %d
52b6cee71dSXin LI>9	byte	x		\b.%d
53b6cee71dSXin LI#
54b6cee71dSXin LI0	string	WNGZWZSC	Wingz compiled script
55b6cee71dSXin LI0	string	WNGZWZSS	Wingz spreadsheet
56b6cee71dSXin LI0	string	WNGZWZHP	Wingz help file
57b6cee71dSXin LI#
589ce06829SXin LI0	string	#Inventor\040V	IRIS Inventor 1.0 file
599ce06829SXin LI0	string	#Inventor\040V2	Open Inventor 2.0 file
60b6cee71dSXin LI# GLF is OpenGL stream encoding
61b6cee71dSXin LI0	string	glfHeadMagic();		GLF_TEXT
62b6cee71dSXin LI4	belong	0x7d000000		GLF_BINARY_LSB_FIRST
63b6cee71dSXin LI!:strength -30
64b6cee71dSXin LI4	belong	0x0000007d		GLF_BINARY_MSB_FIRST
65b6cee71dSXin LI!:strength -30
66b6cee71dSXin LI# GLS is OpenGL stream encoding; GLS is the successor of GLF
67b6cee71dSXin LI0	string	glsBeginGLS(		GLS_TEXT
68b6cee71dSXin LI4	belong	0x10000000		GLS_BINARY_LSB_FIRST
69b6cee71dSXin LI!:strength -30
70b6cee71dSXin LI4	belong	0x00000010		GLS_BINARY_MSB_FIRST
71b6cee71dSXin LI!:strength -30
72b6cee71dSXin LI
73b6cee71dSXin LI# Performance Co-Pilot file types
74b6cee71dSXin LI0	string	PmNs				PCP compiled namespace (V.0)
75b6cee71dSXin LI0	string	PmN				PCP compiled namespace
76b6cee71dSXin LI>3	string	>\0				(V.%1.1s)
77b6cee71dSXin LI#3	lelong	0x84500526			PCP archive
78b6cee71dSXin LI3	belong	0x84500526			PCP archive
79b6cee71dSXin LI>7	byte	x				(V.%d)
80b6cee71dSXin LI#>20	lelong	-2				temporal index
81b6cee71dSXin LI#>20	lelong	-1				metadata
82b6cee71dSXin LI#>20	lelong	0				log volume #0
83b6cee71dSXin LI#>20	lelong	>0				log volume #%d
84b6cee71dSXin LI>20	belong	-2				temporal index
85b6cee71dSXin LI>20	belong	-1				metadata
86b6cee71dSXin LI>20	belong	0				log volume #0
87b6cee71dSXin LI>20	belong	>0				log volume #%d
88b6cee71dSXin LI>24	string	>\0				host: %s
89b6cee71dSXin LI0	string	PCPFolio			PCP
90b6cee71dSXin LI>9	string	Version:			Archive Folio
91b6cee71dSXin LI>18	string	>\0				(V.%s)
92b6cee71dSXin LI0	string	#pmchart			PCP pmchart view
93b6cee71dSXin LI>9	string	Version
94b6cee71dSXin LI>17	string	>\0				(V%-3.3s)
95b6cee71dSXin LI0	string	#kmchart			PCP kmchart view
96b6cee71dSXin LI>9	string	Version
97b6cee71dSXin LI>17	string	>\0				(V.%s)
98b6cee71dSXin LI0	string	pmview				PCP pmview config
99b6cee71dSXin LI>7	string	Version
100b6cee71dSXin LI>15	string	>\0				(V%-3.3s)
101b6cee71dSXin LI0	string	#pmlogger			PCP pmlogger config
102b6cee71dSXin LI>10	string	Version
103b6cee71dSXin LI>18	string	>\0				(V%1.1s)
104b6cee71dSXin LI0	string	#pmdahotproc			PCP pmdahotproc config
105b6cee71dSXin LI>13	string	Version
106b6cee71dSXin LI>21	string	>\0				(V%-3.3s)
107b6cee71dSXin LI0	string	PcPh				PCP Help
108b6cee71dSXin LI>4	string	1				Index
109b6cee71dSXin LI>4	string	2				Text
110b6cee71dSXin LI>5	string	>\0				(V.%1.1s)
111b6cee71dSXin LI0	string	#pmieconf-rules			PCP pmieconf rules
112b6cee71dSXin LI>16	string	>\0				(V.%1.1s)
113b6cee71dSXin LI3	string	pmieconf-pmie			PCP pmie config
114b6cee71dSXin LI>17	string	>\0				(V.%1.1s)
115*2dc4dbb9SEitan Adler0	string	MMV				PCP memory mapped values
116*2dc4dbb9SEitan Adler>4	long	x				(V.%d)
117b6cee71dSXin LI
118b6cee71dSXin LI# SpeedShop data files
119b6cee71dSXin LI0	lelong	0x13130303			SpeedShop data file
120b6cee71dSXin LI
121b6cee71dSXin LI# mdbm files
122b6cee71dSXin LI0	lelong	0x01023962			mdbm file, version 0 (obsolete)
123b6cee71dSXin LI0	string	mdbm				mdbm file,
124b6cee71dSXin LI>5	byte	x				version %d,
125b6cee71dSXin LI>6	byte	x				2^%d pages,
126b6cee71dSXin LI>7	byte	x				pagesize 2^%d,
127b6cee71dSXin LI>17	byte	x				hash %d,
128b6cee71dSXin LI>11	byte	x				dataformat %d
129b6cee71dSXin LI
130b6cee71dSXin LI# Alias Maya files
131b6cee71dSXin LI0	string/t	//Maya\040ASCII	Alias Maya Ascii File,
132b6cee71dSXin LI>13	string	>\0	version %s
133b6cee71dSXin LI8	string	MAYAFOR4	Alias Maya Binary File,
134b6cee71dSXin LI>32	string	>\0	version %s scene
135b6cee71dSXin LI8	string	MayaFOR4	Alias Maya Binary File,
136b6cee71dSXin LI>32	string	>\0	version %s scene
137b6cee71dSXin LI8	string	CIMG		Alias Maya Image File
138b6cee71dSXin LI8	string	DEEP		Alias Maya Image File
139