Deleted Added
full compact
sun (186675) sun (226048)
1
2#------------------------------------------------------------------------------
1
2#------------------------------------------------------------------------------
3# $File: sun,v 1.22 2011/02/10 01:52:51 christos Exp $
3# sun: file(1) magic for Sun machines
4#
5# Values for big-endian Sun (MC680x0, SPARC) binaries on pre-5.x
6# releases. (5.x uses ELF.)
7#
80 belong&077777777 0600413 sparc demand paged
9>0 byte &0x80
10>>20 belong <4096 shared library
11>>20 belong =4096 dynamically linked executable
12>>20 belong >4096 dynamically linked executable
13>0 byte ^0x80 executable
14>16 belong >0 not stripped
15
160 belong&077777777 0600410 sparc pure
17>0 byte &0x80 dynamically linked executable
18>0 byte ^0x80 executable
19>16 belong >0 not stripped
20
210 belong&077777777 0600407 sparc
22>0 byte &0x80 dynamically linked executable
23>0 byte ^0x80 executable
24>16 belong >0 not stripped
25
260 belong&077777777 0400413 mc68020 demand paged
27>0 byte &0x80
28>>20 belong <4096 shared library
29>>20 belong =4096 dynamically linked executable
30>>20 belong >4096 dynamically linked executable
31>0 byte ^0x80 executable
32>16 belong >0 not stripped
33
340 belong&077777777 0400410 mc68020 pure
35>0 byte &0x80 dynamically linked executable
36>0 byte ^0x80 executable
37>16 belong >0 not stripped
38
390 belong&077777777 0400407 mc68020
40>0 byte &0x80 dynamically linked executable
41>0 byte ^0x80 executable
42>16 belong >0 not stripped
43
440 belong&077777777 0200413 mc68010 demand paged
45>0 byte &0x80
46>>20 belong <4096 shared library
47>>20 belong =4096 dynamically linked executable
48>>20 belong >4096 dynamically linked executable
49>0 byte ^0x80 executable
50>16 belong >0 not stripped
51
520 belong&077777777 0200410 mc68010 pure
53>0 byte &0x80 dynamically linked executable
54>0 byte ^0x80 executable
55>16 belong >0 not stripped
56
570 belong&077777777 0200407 mc68010
58>0 byte &0x80 dynamically linked executable
59>0 byte ^0x80 executable
60>16 belong >0 not stripped
61
62# reworked these to avoid anything beginning with zero becoming "old sun-2"
630 belong 0407 old sun-2 executable
64>16 belong >0 not stripped
650 belong 0410 old sun-2 pure executable
66>16 belong >0 not stripped
670 belong 0413 old sun-2 demand paged executable
68>16 belong >0 not stripped
69
70#
71# Core files. "SPARC 4.x BCP" means "core file from a SunOS 4.x SPARC
72# binary executed in compatibility mode under SunOS 5.x".
73#
740 belong 0x080456 SunOS core file
75>4 belong 432 (SPARC)
76>>132 string >\0 from '%s'
77>>116 belong =3 (quit)
78>>116 belong =4 (illegal instruction)
79>>116 belong =5 (trace trap)
80>>116 belong =6 (abort)
81>>116 belong =7 (emulator trap)
82>>116 belong =8 (arithmetic exception)
83>>116 belong =9 (kill)
84>>116 belong =10 (bus error)
85>>116 belong =11 (segmentation violation)
86>>116 belong =12 (bad argument to system call)
87>>116 belong =29 (resource lost)
88>>120 belong x (T=%dK,
89>>124 belong x D=%dK,
90>>128 belong x S=%dK)
91>4 belong 826 (68K)
92>>128 string >\0 from '%s'
93>4 belong 456 (SPARC 4.x BCP)
94>>152 string >\0 from '%s'
95# Sun SunPC
960 long 0xfa33c08e SunPC 4.0 Hard Disk
970 string #SUNPC_CONFIG SunPC 4.0 Properties Values
98# Sun snoop (see RFC 1761, which describes the capture file format).
99#
1000 string snoop Snoop capture file
101>8 belong >0 - version %ld
102>12 belong 0 (IEEE 802.3)
103>12 belong 1 (IEEE 802.4)
104>12 belong 2 (IEEE 802.5)
105>12 belong 3 (IEEE 802.6)
106>12 belong 4 (Ethernet)
107>12 belong 5 (HDLC)
108>12 belong 6 (Character synchronous)
109>12 belong 7 (IBM channel-to-channel adapter)
110>12 belong 8 (FDDI)
111>12 belong 9 (Unknown)
112
113# Microsoft ICM color profile
11436 string acspMSFT Microsoft ICM Color Profile
4# sun: file(1) magic for Sun machines
5#
6# Values for big-endian Sun (MC680x0, SPARC) binaries on pre-5.x
7# releases. (5.x uses ELF.)
8#
90 belong&077777777 0600413 sparc demand paged
10>0 byte &0x80
11>>20 belong <4096 shared library
12>>20 belong =4096 dynamically linked executable
13>>20 belong >4096 dynamically linked executable
14>0 byte ^0x80 executable
15>16 belong >0 not stripped
16
170 belong&077777777 0600410 sparc pure
18>0 byte &0x80 dynamically linked executable
19>0 byte ^0x80 executable
20>16 belong >0 not stripped
21
220 belong&077777777 0600407 sparc
23>0 byte &0x80 dynamically linked executable
24>0 byte ^0x80 executable
25>16 belong >0 not stripped
26
270 belong&077777777 0400413 mc68020 demand paged
28>0 byte &0x80
29>>20 belong <4096 shared library
30>>20 belong =4096 dynamically linked executable
31>>20 belong >4096 dynamically linked executable
32>0 byte ^0x80 executable
33>16 belong >0 not stripped
34
350 belong&077777777 0400410 mc68020 pure
36>0 byte &0x80 dynamically linked executable
37>0 byte ^0x80 executable
38>16 belong >0 not stripped
39
400 belong&077777777 0400407 mc68020
41>0 byte &0x80 dynamically linked executable
42>0 byte ^0x80 executable
43>16 belong >0 not stripped
44
450 belong&077777777 0200413 mc68010 demand paged
46>0 byte &0x80
47>>20 belong <4096 shared library
48>>20 belong =4096 dynamically linked executable
49>>20 belong >4096 dynamically linked executable
50>0 byte ^0x80 executable
51>16 belong >0 not stripped
52
530 belong&077777777 0200410 mc68010 pure
54>0 byte &0x80 dynamically linked executable
55>0 byte ^0x80 executable
56>16 belong >0 not stripped
57
580 belong&077777777 0200407 mc68010
59>0 byte &0x80 dynamically linked executable
60>0 byte ^0x80 executable
61>16 belong >0 not stripped
62
63# reworked these to avoid anything beginning with zero becoming "old sun-2"
640 belong 0407 old sun-2 executable
65>16 belong >0 not stripped
660 belong 0410 old sun-2 pure executable
67>16 belong >0 not stripped
680 belong 0413 old sun-2 demand paged executable
69>16 belong >0 not stripped
70
71#
72# Core files. "SPARC 4.x BCP" means "core file from a SunOS 4.x SPARC
73# binary executed in compatibility mode under SunOS 5.x".
74#
750 belong 0x080456 SunOS core file
76>4 belong 432 (SPARC)
77>>132 string >\0 from '%s'
78>>116 belong =3 (quit)
79>>116 belong =4 (illegal instruction)
80>>116 belong =5 (trace trap)
81>>116 belong =6 (abort)
82>>116 belong =7 (emulator trap)
83>>116 belong =8 (arithmetic exception)
84>>116 belong =9 (kill)
85>>116 belong =10 (bus error)
86>>116 belong =11 (segmentation violation)
87>>116 belong =12 (bad argument to system call)
88>>116 belong =29 (resource lost)
89>>120 belong x (T=%dK,
90>>124 belong x D=%dK,
91>>128 belong x S=%dK)
92>4 belong 826 (68K)
93>>128 string >\0 from '%s'
94>4 belong 456 (SPARC 4.x BCP)
95>>152 string >\0 from '%s'
96# Sun SunPC
970 long 0xfa33c08e SunPC 4.0 Hard Disk
980 string #SUNPC_CONFIG SunPC 4.0 Properties Values
99# Sun snoop (see RFC 1761, which describes the capture file format).
100#
1010 string snoop Snoop capture file
102>8 belong >0 - version %ld
103>12 belong 0 (IEEE 802.3)
104>12 belong 1 (IEEE 802.4)
105>12 belong 2 (IEEE 802.5)
106>12 belong 3 (IEEE 802.6)
107>12 belong 4 (Ethernet)
108>12 belong 5 (HDLC)
109>12 belong 6 (Character synchronous)
110>12 belong 7 (IBM channel-to-channel adapter)
111>12 belong 8 (FDDI)
112>12 belong 9 (Unknown)
113
114# Microsoft ICM color profile
11536 string acspMSFT Microsoft ICM Color Profile
116!:mime application/vnd.iccprofile
115# Sun KCMS
11636 string acsp Kodak Color Management System, ICC Profile
117# Sun KCMS
11836 string acsp Kodak Color Management System, ICC Profile
119!:mime application/vnd.iccprofile
117
118#---------------------------------------------------------------------------
119# The following entries have been tested by Duncan Laurie <duncan@sun.com> (a
120# lead Sun/Cobalt developer) who agrees that they are good and worthy of
121# inclusion.
122
123# Boot ROM images for Sun/Cobalt Linux server appliances
1240 string Cobalt\ Networks\ Inc.\nFirmware\ v Paged COBALT boot rom
125>38 string x V%.4s
126
127# New format for Sun/Cobalt boot ROMs is annoying, it stores the version code
128# at the very end where file(1) can't get it.
1290 string CRfs COBALT boot rom data (Flat boot rom or file system)
130
131
120
121#---------------------------------------------------------------------------
122# The following entries have been tested by Duncan Laurie <duncan@sun.com> (a
123# lead Sun/Cobalt developer) who agrees that they are good and worthy of
124# inclusion.
125
126# Boot ROM images for Sun/Cobalt Linux server appliances
1270 string Cobalt\ Networks\ Inc.\nFirmware\ v Paged COBALT boot rom
128>38 string x V%.4s
129
130# New format for Sun/Cobalt boot ROMs is annoying, it stores the version code
131# at the very end where file(1) can't get it.
1320 string CRfs COBALT boot rom data (Flat boot rom or file system)
133
134