1 # |
1 # |
2 # CDDL HEADER START |
2 # Copyright (c) 1988, 2011, Oracle and/or its affiliates. All rights reserved. |
3 # |
3 # |
4 # The contents of this file are subject to the terms of the |
4 # |
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at $(SRC)/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at $(SRC)/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
|
22 # Use is subject to license terms. |
|
23 # |
|
24 # |
|
25 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
|
26 # Use is subject to license terms. |
|
27 # |
|
28 #ident "@(#)magic 1.54 06/03/19 SMI" |
|
29 # |
5 # |
30 # This file contains the dictionary of file format identifiers (magic strings) |
6 # This file contains the dictionary of file format identifiers (magic strings) |
31 # used by file(1). The fields of this file are as follows: |
7 # used by file(1). The fields of this file are as follows: |
32 # |
8 # |
33 # (1) byte offset |
9 # (1) byte offset |
39 # Numeric values may be decimal, octal, or hex. Also note that the last string |
15 # Numeric values may be decimal, octal, or hex. Also note that the last string |
40 # may have one printf format specifier. The '>' in occassional column 1's is |
16 # may have one printf format specifier. The '>' in occassional column 1's is |
41 # magic: it forces file(1) to continue scanning and matching additional lines. |
17 # magic: it forces file(1) to continue scanning and matching additional lines. |
42 # The first line afterwards not so marked terminates the search. |
18 # The first line afterwards not so marked terminates the search. |
43 # |
19 # |
44 # The entries for ELF are not needed anymore, as file(1) now uses the elf(3ELF) |
20 # The entries for ELF and current archives are not needed anymore, as file(1) |
45 # routines to look at ELF files. They remain, commented out, for reference. |
21 # now uses the elf(3ELF) routines to look at ELF files. They remain, commented |
|
22 # out, for reference. |
46 # |
23 # |
47 #0 string \177ELF ELF |
24 #0 string \177ELF ELF |
48 #>4 byte 1 32-bit |
25 #>4 byte 1 32-bit |
49 #>5 byte 1 LSB |
26 #>5 byte 1 LSB |
50 #>5 byte 2 MSB |
27 #>5 byte 2 MSB |
87 0 long 0177555 폐기된 ar 아카이브 |
64 0 long 0177555 폐기된 ar 아카이브 |
88 0 short 0177545 pdp11/pre System V ar 아카이브 |
65 0 short 0177545 pdp11/pre System V ar 아카이브 |
89 0 long 0100554 apl 작업 공간 |
66 0 long 0100554 apl 작업 공간 |
90 0 short 017037 압축된 데이터 |
67 0 short 017037 압축된 데이터 |
91 0 string <ar> System V 릴리즈 1 ar 아카이브 |
68 0 string <ar> System V 릴리즈 1 ar 아카이브 |
92 0 string !<arch> 최신 ar 아카이브 |
69 #0 string !<arch> 최신 ar 아카이브 |
93 0 short 0407 pdp11/pre System V vax 실행 가능 |
70 0 short 0407 pdp11/pre System V vax 실행 가능 |
94 >8 ushort >0 스트립되지 않음 |
71 >8 ushort >0 스트립되지 않음 |
95 >15 ubyte >0 - 버전 %ld |
72 >15 ubyte >0 - 버전 %ld |
96 0 short 0401 unix-rt ldp |
73 0 short 0401 unix-rt ldp |
97 0 short 0405 pdp11 오버레이 |
74 0 short 0405 pdp11 오버레이 |
291 0 string %! PostScript 문서 |
268 0 string %! PostScript 문서 |
292 >2 string PS-Adobe conforming to level |
269 >2 string PS-Adobe conforming to level |
293 >10 string -1.0 1.0 |
270 >10 string -1.0 1.0 |
294 >10 string -2.0 2.0 |
271 >10 string -2.0 2.0 |
295 >10 string -3.0 3.0 |
272 >10 string -3.0 3.0 |
|
273 # Handle Microsoft PostScript files (CTRL-D%!) |
|
274 0 string \004%! PostScript document text |
296 # version ID follows, in the form PS-Adobe-nn |
275 # version ID follows, in the form PS-Adobe-nn |
297 0 string Interpress/Xerox Interpress 문서 |
276 0 string Interpress/Xerox Interpress 문서 |
298 # version ID follows, in the form /n.n |
277 # version ID follows, in the form /n.n |
299 0 string StartFontMetrics Adobe 글꼴 메트릭스 |
278 0 string StartFontMetrics Adobe 글꼴 메트릭스 |
300 0 string StartFont Adobe 글꼴 비트 |
279 0 string StartFont Adobe 글꼴 비트 |
301 0 long 0x137A2944 NeWS 비트맵 글꼴 |
280 0 long 0x137A2944 NeWS 비트맵 글꼴 |
302 0 long 0x137A2947 NeWS 글꼴 패밀리 |
281 0 long 0x137A2947 NeWS 글꼴 패밀리 |
303 8 long 0x137A2B45 X11/NeWS 비트맵 글꼴 |
282 8 long 0x137A2B45 X11/NeWS 비트맵 글꼴 |
304 8 long 0x137A2B48 X11/NeWS 글꼴 패밀리 |
283 8 long 0x137A2B48 X11/NeWS 글꼴 패밀리 |
305 # snoop files are always big-endian |
|
306 # big-endian entries, with ullong equivalent of string "snoop" |
|
307 0 ullong 0x736e6f6f70000000 Snoop 캡처 파일 |
|
308 >8 long >0 - 버전 %ld |
|
309 # little-endian entries, with ullong equivalent of string "snoop" |
|
310 0 ullong 0x000000706f6f6e73 Snoop 캡처 파일 |
|
311 >11 long >0 - 버전 %ld |
|
312 0 short 0436 vfont 정의 |
284 0 short 0436 vfont 정의 |
313 0 string <MakerFile Frame Maker 문서 |
285 0 string <MakerFile Frame Maker 문서 |
314 0 string <MIFFile Frame Maker MIF 파일 |
286 0 string <MIFFile Frame Maker MIF 파일 |
315 0 string <MML Frame Maker MML 파일 |
287 0 string <MML Frame Maker MML 파일 |
316 0 string <BookFile Frame Maker book 파일 |
288 0 string <BookFile Frame Maker book 파일 |
504 38 string application/vnd.sun.xml.writer StarSuite 7 텍스트 문서 |
476 38 string application/vnd.sun.xml.writer StarSuite 7 텍스트 문서 |
505 38 string application/vnd.sun.xml.calc StarSuite 7 스프레드시트 |
477 38 string application/vnd.sun.xml.calc StarSuite 7 스프레드시트 |
506 38 string application/vnd.sun.xml.draw StarSuite 7 도면 |
478 38 string application/vnd.sun.xml.draw StarSuite 7 도면 |
507 38 string application/vnd.sun.xml.impress StarSuite 7 프레젠테이션 |
479 38 string application/vnd.sun.xml.impress StarSuite 7 프레젠테이션 |
508 38 string application/vnd.sun.xml.math StarSuite 7 수식 |
480 38 string application/vnd.sun.xml.math StarSuite 7 수식 |
|
481 38 string application/vnd.oasis.opendocument.chart OpenDocument Chart |
|
482 38 string application/vnd.oasis.opendocument.database OpenDocument Database |
|
483 38 string application/vnd.sun.xml.base OpenDocument Database |
|
484 38 string application/vnd.oasis.opendocument.formula OpenDocument Formula |
|
485 38 string application/vnd.oasis.opendocument.image OpenDocument Image |
|
486 38 string application/vnd.oasis.opendocument.text-web HTML Document Template |
|
487 38 string application/vnd.oasis.opendocument.text- OpenDocument |
|
488 >78 string template Text Template |
|
489 >78 string master Master Document |
|
490 38 string application/vnd.oasis.opendocument.text OpenDocument Text |
|
491 38 string application/vnd.oasis.opendocument.graphics OpenDocument Drawing |
|
492 >81 string -template Template |
|
493 38 string application/vnd.oasis.opendocument.presentation OpenDocument Presentation |
|
494 >85 string -template Template |
|
495 38 string application/vnd.oasis.opendocument.spreadsheet OpenDocument Spreadsheet |
|
496 >84 string -template Template |
509 0 string PK\003\004 ZIP 아카이브 |
497 0 string PK\003\004 ZIP 아카이브 |
510 0 string MZ DOS 실행 가능 (EXE) |
498 0 string MZ DOS 실행 가능 (EXE) |
511 0 string LZ DOS 내장 |
499 0 string LZ DOS 내장 |
512 0 byte 0xe9 DOS 실행 가능 (COM) |
500 0 byte 0xe9 DOS 실행 가능 (COM) |
513 0 byte 0xeb DOS 실행 가능 (COM) |
501 0 byte 0xeb DOS 실행 가능 (COM) |
|
502 0 string \013\023\010\000 ksh compiled shell script executable |
514 24 long 60012 ufsdump 아카이브 파일 |
503 24 long 60012 ufsdump 아카이브 파일 |
515 0 string TZif zoneinfo 시간대 데이터 파일 |
504 0 string TZif zoneinfo 시간대 데이터 파일 |
516 0 string BZh bzip2 압축된 데이터 |
505 0 string BZh bzip2 압축된 데이터 |
517 >3 byte >47 , 블록 크기 = %c00k |
506 >3 byte >47 , 블록 크기 = %c00k |
518 0 string SUNWcpch Sun C 컴파일러로 미리 컴파일된 헤더 |
507 0 string SUNWcpch Sun C 컴파일러로 미리 컴파일된 헤더 |
527 >8 ushort x esc v%u에서 |
516 >8 ushort x esc v%u에서 |
528 >10 ushort x 개정판 %u |
517 >10 ushort x 개정판 %u |
529 0 string _SM_ DMTF SMBIOS 이미지 |
518 0 string _SM_ DMTF SMBIOS 이미지 |
530 >6 byte x 버전 %u |
519 >6 byte x 버전 %u |
531 >7 byte x .%u |
520 >7 byte x .%u |
|
521 0 byte 0x11 Solaris Audit File |
|
522 0 byte 0x78 Solaris Audit File |
|
523 # ZFS send stream entries |
|
524 8 ullong 0x00000002f5bacbac ZFS 스냅샷 스트림 |
|
525 # little endian stream |
|
526 8 ullong 0xaccbbaf502000000 ZFS 스냅샷 스트림 |
|
527 |
|
528 |
|
529 # Video files |
|
530 2 string \001\272\041 MPEG 동영상 파일 |
|
531 0 string \377\375 MPEG-1 오디오 레이어 2 |
|
532 0 string \377\373 MPEG-1 오디오 레이어 3 |
|
533 0 string \377\372 MPEG-1 오디오 레이어 3 |
|
534 0 string \111\104\063 MPEG-1 레이어 3(ID3v2 포함) |
|
535 |
|
536 # AVI and GVI files |
|
537 20 string hdrlavih RIFF Avi 비디오 |
|
538 >36 ulong >0 %u 최대 Bps, |
|
539 >64 ushort x %u X |
|
540 >68 ushort x %u, |
|
541 >48 ulong x %u개의 프레임 |
|
542 |
|
543 20 string goog RIFF gvi |
|
544 >88 ulong >0 %u 최대 Bps |
|
545 >116 ushort x %u X |
|
546 >120 ushort x %u, |
|
547 >100 ulong x %u개의 프레임 |
|
548 |
|
549 # JPEG 2000 - jp2 image file. |
|
550 3 string \014\152\120\040\040 JPEG 2000 이미지 파일 |
|
551 |
|
552 # iso 9660 CD-ROM image and El Torito Bootable standard |
|
553 32769 string CD\0 ISO 9660 파일 시스템 이미지 |
|
554 >34823 string EL\040TORITO - El Torito |
|
555 |
|
556 # Palm Pilot files .pdb and .prc of some type. |
|
557 0x3c string TEXtREAd Palm DOC 파일 |
|
558 0x3c string SDocSilX iSilo 3 문서 파일(PalmPilot용) |
|
559 0x3c string applSil iSilo 응용 프로그램 파일 |
|
560 0x3c string appl Palm 파일럿 응용 프로그램 |
|
561 0x3c string ToGoToGo iSilo 문서 파일(Palm Pilot용) |
|
562 |
|
563 #SGI files with .rgb extention |
|
564 0 string \001\332 SGI 이미지 데이터, |
|
565 >2 byte 1 RLE, |
|
566 >2 byte 0 축어적, |
|
567 >5 ubyte x %u-D |
|
568 >7 ubyte x %u x |
|
569 >9 ubyte x %u, |
|
570 >11 ubyte x %u개의 채널 |
|
571 |
|
572 2048 string PCD_IPI Kodak Photo CD image pack file |
|
573 >0xe02 byte&0x03 0x00 , landscape mode |
|
574 >0xe02 byte&0x03 0x01 , portrait mode |
|
575 >0xe02 byte&0x03 0x02 , landscape mode |
|
576 >0xe02 byte&0x03 0x03 , portrait mode |
|
577 0 string PCD_OPA Kodak Photo CD overview pack file |
|
578 |
|
579 # MS Documents. 사용할 수 있는 정보가 많지 않습니다. |
|
580 0 string \320\317\021\340\241\261\032\341 Microsoft |
|
581 >546 string bjbj Word |
|
582 >0 byte <0 문서 |
|
583 0 string {\\rtf Microsoft 서식 있는 텍스트 형식 문서 |
|
584 |
|
585 # mp4 media format with different media files embedded in it |
|
586 4 string ftyp MPEG-4 |
|
587 >8 string isom 기본 미디어 v1 [IS0 14496-12:2003] |
|
588 >8 string iso2 기본 미디어 v2 [ISO 14496-12:2005] |
|
589 >8 string m4a\040 Apple iTunes AAC-LC(.M4A) 오디오 |
|
590 >8 string m4v\040 Apple iTunes(.M4V) 비디오 |
|
591 >8 string qt Apple QuickTime(.MOV/QT) |
|
592 >8 string jp2 JPEG 2000 이미지 |
|
593 >8 string jpm JPEG 2000 복합 이미지(.JPM) [ISO 15444-6] |
|
594 >8 string jpx JPEG 2000 확장자 포함(.JPX) [ISO 15444-2] |
|
595 >8 string mp42 v2 [ISO 14496-14] |
|
596 4 string moov QuickTime MOV 파일 |