xref: /freebsd/contrib/file/magic/Magdir/sgi (revision cddbc3b40812213ff00041f79174cac0be360a2a)
1
2#------------------------------------------------------------------------------
3# $File: sgi,v 1.23 2018/05/29 02:26:56 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# Performance Co-Pilot file types
740	string	PmNs				PCP compiled namespace (V.0)
750	string	PmN				PCP compiled namespace
76>3	string	>\0				(V.%1.1s)
77#3	lelong	0x84500526			PCP archive
783	belong	0x84500526			PCP archive
79>7	byte	x				(V.%d)
80#>20	lelong	-2				temporal index
81#>20	lelong	-1				metadata
82#>20	lelong	0				log volume #0
83#>20	lelong	>0				log volume #%d
84>20	belong	-2				temporal index
85>20	belong	-1				metadata
86>20	belong	0				log volume #0
87>20	belong	>0				log volume #%d
88>24	string	>\0				host: %s
890	string	PCPFolio			PCP
90>9	string	Version:			Archive Folio
91>18	string	>\0				(V.%s)
920	string	#pmchart			PCP pmchart view
93>9	string	Version
94>17	string	>\0				(V%-3.3s)
950	string	#kmchart			PCP kmchart view
96>9	string	Version
97>17	string	>\0				(V.%s)
980	string	pmview				PCP pmview config
99>7	string	Version
100>15	string	>\0				(V%-3.3s)
1010	string	#pmlogger			PCP pmlogger config
102>10	string	Version
103>18	string	>\0				(V%1.1s)
1040	string	#pmdahotproc			PCP pmdahotproc config
105>13	string	Version
106>21	string	>\0				(V%-3.3s)
1070	string	PcPh				PCP Help
108>4	string	1				Index
109>4	string	2				Text
110>5	string	>\0				(V.%1.1s)
1110	string	#pmieconf-rules			PCP pmieconf rules
112>16	string	>\0				(V.%1.1s)
1133	string	pmieconf-pmie			PCP pmie config
114>17	string	>\0				(V.%1.1s)
1150	string	MMV				PCP memory mapped values
116>4	long	x				(V.%d)
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