xref: /freebsd/contrib/file/magic/Magdir/sgi (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*43a5ec4eSXin LI# $File: sgi,v 1.24 2021/09/13 13:23:53 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 LI3	belong	0x84500526			PCP archive
78b6cee71dSXin LI>7	byte	x				(V.%d)
79b6cee71dSXin LI>20	belong	-2				temporal index
80b6cee71dSXin LI>20	belong	-1				metadata
81b6cee71dSXin LI>20	belong	0				log volume #0
82b6cee71dSXin LI>20	belong	>0				log volume #%d
83b6cee71dSXin LI>24	string	>\0				host: %s
84*43a5ec4eSXin LI3	belong	0x28500526			PCP archive
85*43a5ec4eSXin LI>7	byte	x				(V.%d)
86*43a5ec4eSXin LI>24	belong	-2				temporal index
87*43a5ec4eSXin LI>24	belong	-1				metadata
88*43a5ec4eSXin LI>24	belong	0				log volume #0
89*43a5ec4eSXin LI>24	belong	>0				log volume #%d
90*43a5ec4eSXin LI>36	string	>\0				host: %s
91b6cee71dSXin LI0	string	PCPFolio			PCP
92b6cee71dSXin LI>9	string	Version:			Archive Folio
93b6cee71dSXin LI>18	string	>\0				(V.%s)
94b6cee71dSXin LI0	string	#pmchart			PCP pmchart view
95b6cee71dSXin LI>9	string	Version
96b6cee71dSXin LI>17	string	>\0				(V%-3.3s)
97*43a5ec4eSXin LI0	string	#kmchart			PCP pmchart view
98b6cee71dSXin LI>9	string	Version
99b6cee71dSXin LI>17	string	>\0				(V.%s)
100b6cee71dSXin LI0	string	pmview				PCP pmview config
101b6cee71dSXin LI>7	string	Version
102b6cee71dSXin LI>15	string	>\0				(V%-3.3s)
103b6cee71dSXin LI0	string	#pmlogger			PCP pmlogger config
104b6cee71dSXin LI>10	string	Version
105b6cee71dSXin LI>18	string	>\0				(V%1.1s)
106b6cee71dSXin LI0	string	#pmdahotproc			PCP pmdahotproc config
107b6cee71dSXin LI>13	string	Version
108b6cee71dSXin LI>21	string	>\0				(V%-3.3s)
109b6cee71dSXin LI0	string	PcPh				PCP Help
110b6cee71dSXin LI>4	string	1				Index
111b6cee71dSXin LI>4	string	2				Text
112b6cee71dSXin LI>5	string	>\0				(V.%1.1s)
113b6cee71dSXin LI0	string	#pmieconf-rules			PCP pmieconf rules
114b6cee71dSXin LI>16	string	>\0				(V.%1.1s)
115b6cee71dSXin LI3	string	pmieconf-pmie			PCP pmie config
116b6cee71dSXin LI>17	string	>\0				(V.%1.1s)
117*43a5ec4eSXin LI0	string	#pmlogconf-setup		PCP pmlogconf config
118*43a5ec4eSXin LI>17	string	>\0				(V.%1.1s)
119*43a5ec4eSXin LI1	string	pmlogconf			PCP pmlogger config
120*43a5ec4eSXin LI>11	string	>\0				(V.%1.1s)
1212dc4dbb9SEitan Adler0	string	MMV				PCP memory mapped values
1222dc4dbb9SEitan Adler>4	long	x				(V.%d)
123b6cee71dSXin LI
124b6cee71dSXin LI# SpeedShop data files
125b6cee71dSXin LI0	lelong	0x13130303			SpeedShop data file
126b6cee71dSXin LI
127b6cee71dSXin LI# mdbm files
128b6cee71dSXin LI0	lelong	0x01023962			mdbm file, version 0 (obsolete)
129b6cee71dSXin LI0	string	mdbm				mdbm file,
130b6cee71dSXin LI>5	byte	x				version %d,
131b6cee71dSXin LI>6	byte	x				2^%d pages,
132b6cee71dSXin LI>7	byte	x				pagesize 2^%d,
133b6cee71dSXin LI>17	byte	x				hash %d,
134b6cee71dSXin LI>11	byte	x				dataformat %d
135b6cee71dSXin LI
136b6cee71dSXin LI# Alias Maya files
137b6cee71dSXin LI0	string/t	//Maya\040ASCII	Alias Maya Ascii File,
138b6cee71dSXin LI>13	string	>\0	version %s
139b6cee71dSXin LI8	string	MAYAFOR4	Alias Maya Binary File,
140b6cee71dSXin LI>32	string	>\0	version %s scene
141b6cee71dSXin LI8	string	MayaFOR4	Alias Maya Binary File,
142b6cee71dSXin LI>32	string	>\0	version %s scene
143b6cee71dSXin LI8	string	CIMG		Alias Maya Image File
144b6cee71dSXin LI8	string	DEEP		Alias Maya Image File
145