xref: /dragonfly/contrib/file/magic/Magdir/sgi (revision 7b80531f545c7d3c51c1660130c71d01f6bccbe0)
1
2#------------------------------------------------------------------------------
3# $File: sgi,v 1.24 2021/09/13 13:23:53 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)
773         belong    0x84500526                              PCP archive
78>7        byte      x                                       (V.%d)
79>20       belong    -2                                      temporal index
80>20       belong    -1                                      metadata
81>20       belong    0                                       log volume #0
82>20       belong    >0                                      log volume #%d
83>24       string    >\0                                     host: %s
843         belong    0x28500526                              PCP archive
85>7        byte      x                                       (V.%d)
86>24       belong    -2                                      temporal index
87>24       belong    -1                                      metadata
88>24       belong    0                                       log volume #0
89>24       belong    >0                                      log volume #%d
90>36       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 pmchart 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)
1170         string    #pmlogconf-setup              PCP pmlogconf config
118>17       string    >\0                                     (V.%1.1s)
1191         string    pmlogconf                     PCP pmlogger config
120>11       string    >\0                                     (V.%1.1s)
1210         string    MMV                                     PCP memory mapped values
122>4        long      x                                       (V.%d)
123
124# SpeedShop data files
1250         lelong    0x13130303                              SpeedShop data file
126
127# mdbm files
1280         lelong    0x01023962                              mdbm file, version 0 (obsolete)
1290         string    mdbm                                    mdbm file,
130>5        byte      x                                       version %d,
131>6        byte      x                                       2^%d pages,
132>7        byte      x                                       pagesize 2^%d,
133>17       byte      x                                       hash %d,
134>11       byte      x                                       dataformat %d
135
136# Alias Maya files
1370         string/t  //Maya\040ASCII     Alias Maya Ascii File,
138>13       string    >\0       version %s
1398         string    MAYAFOR4  Alias Maya Binary File,
140>32       string    >\0       version %s scene
1418         string    MayaFOR4  Alias Maya Binary File,
142>32       string    >\0       version %s scene
1438         string    CIMG                Alias Maya Image File
1448         string    DEEP                Alias Maya Image File
145