xref: /freebsd/contrib/file/magic/Magdir/sgi (revision 63d1fd5970ec814904aa0f4580b10a0d302d08b2)
1
2#------------------------------------------------------------------------------
3# $File: sgi,v 1.22 2015/08/29 07:10:35 christos Exp $
4# sgi:  file(1) magic for Silicon Graphics operating systems and applications
5#
6# Executable images are handled either in aout (for old-style a.out
7# files for 68K; they are indistinguishable from other big-endian 32-bit
8# a.out files) or in mips (for MIPS ECOFF and Ucode files)
9#
10
11# kbd file definitions
120	string	kbd!map		kbd map file
13>8	byte	>0		Ver %d:
14>10	short	>0		with %d table(s)
15
160	beshort	0x8765		disk quotas file
17
180	beshort	0x0506		IRIS Showcase file
19>2	byte	0x49		-
20>3	byte	x		- version %d
210	beshort	0x0226		IRIS Showcase template
22>2	byte	0x63		-
23>3	byte	x		- version %d
240	belong	0x5343464d	IRIS Showcase file
25>4	byte	x		- version %d
260	belong	0x5443464d	IRIS Showcase template
27>4	byte	x		- version %d
280	belong	0xdeadbabe	IRIX Parallel Arena
29>8	belong	>0		- version %d
30
31# core files
32#
33# 32bit core file
340	belong	0xdeadadb0	IRIX core dump
35>4	belong	1		of
36>16	string	>\0		'%s'
37# 64bit core file
380	belong	0xdeadad40	IRIX 64-bit core dump
39>4	belong	1		of
40>16	string	>\0		'%s'
41# N32bit core file
420       belong	0xbabec0bb	IRIX N32 core dump
43>4      belong	1               of
44>16     string	>\0             '%s'
45# New style crash dump file
460	string	\x43\x72\x73\x68\x44\x75\x6d\x70	IRIX vmcore dump of
47>36	string	>\0					'%s'
48
49# Trusted IRIX info
500	string	SGIAUDIT	SGI Audit file
51>8	byte	x		- version %d
52>9	byte	x		\b.%d
53#
540	string	WNGZWZSC	Wingz compiled script
550	string	WNGZWZSS	Wingz spreadsheet
560	string	WNGZWZHP	Wingz help file
57#
580	string	#Inventor\040V	IRIS Inventor 1.0 file
590	string	#Inventor\040V2	Open Inventor 2.0 file
60# GLF is OpenGL stream encoding
610	string	glfHeadMagic();		GLF_TEXT
624	belong	0x7d000000		GLF_BINARY_LSB_FIRST
63!:strength -30
644	belong	0x0000007d		GLF_BINARY_MSB_FIRST
65!:strength -30
66# GLS is OpenGL stream encoding; GLS is the successor of GLF
670	string	glsBeginGLS(		GLS_TEXT
684	belong	0x10000000		GLS_BINARY_LSB_FIRST
69!:strength -30
704	belong	0x00000010		GLS_BINARY_MSB_FIRST
71!:strength -30
72
73#
74#
75# Performance Co-Pilot file types
760	string	PmNs				PCP compiled namespace (V.0)
770	string	PmN				PCP compiled namespace
78>3	string	>\0				(V.%1.1s)
79#3	lelong	0x84500526			PCP archive
803	belong	0x84500526			PCP archive
81>7	byte	x				(V.%d)
82#>20	lelong	-2				temporal index
83#>20	lelong	-1				metadata
84#>20	lelong	0				log volume #0
85#>20	lelong	>0				log volume #%d
86>20	belong	-2				temporal index
87>20	belong	-1				metadata
88>20	belong	0				log volume #0
89>20	belong	>0				log volume #%d
90>24	string	>\0				host: %s
910	string	PCPFolio			PCP
92>9	string	Version:			Archive Folio
93>18	string	>\0				(V.%s)
940	string	#pmchart			PCP pmchart view
95>9	string	Version
96>17	string	>\0				(V%-3.3s)
970	string	#kmchart			PCP kmchart view
98>9	string	Version
99>17	string	>\0				(V.%s)
1000	string	pmview				PCP pmview config
101>7	string	Version
102>15	string	>\0				(V%-3.3s)
1030	string	#pmlogger			PCP pmlogger config
104>10	string	Version
105>18	string	>\0				(V%1.1s)
1060	string	#pmdahotproc			PCP pmdahotproc config
107>13	string	Version
108>21	string	>\0				(V%-3.3s)
1090	string	PcPh				PCP Help
110>4	string	1				Index
111>4	string	2				Text
112>5	string	>\0				(V.%1.1s)
1130	string	#pmieconf-rules			PCP pmieconf rules
114>16	string	>\0				(V.%1.1s)
1153	string	pmieconf-pmie			PCP pmie config
116>17	string	>\0				(V.%1.1s)
117
118# SpeedShop data files
1190	lelong	0x13130303			SpeedShop data file
120
121# mdbm files
1220	lelong	0x01023962			mdbm file, version 0 (obsolete)
1230	string	mdbm				mdbm file,
124>5	byte	x				version %d,
125>6	byte	x				2^%d pages,
126>7	byte	x				pagesize 2^%d,
127>17	byte	x				hash %d,
128>11	byte	x				dataformat %d
129
130# Alias Maya files
1310	string/t	//Maya\040ASCII	Alias Maya Ascii File,
132>13	string	>\0	version %s
1338	string	MAYAFOR4	Alias Maya Binary File,
134>32	string	>\0	version %s scene
1358	string	MayaFOR4	Alias Maya Binary File,
136>32	string	>\0	version %s scene
1378	string	CIMG		Alias Maya Image File
1388	string	DEEP		Alias Maya Image File
139