diff options
author | obrien <obrien@FreeBSD.org> | 2001-04-25 07:41:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-04-25 07:41:21 +0000 |
commit | 30980cd72da9ade33a9b331e58e75660d180a109 (patch) | |
tree | 000ebc599c417e0830db5f66711d1e99a3edfdcb /contrib/file/Magdir | |
parent | fd87285c4e3e4e4fbf7112229c209a1c6ea64494 (diff) | |
download | FreeBSD-src-30980cd72da9ade33a9b331e58e75660d180a109.zip FreeBSD-src-30980cd72da9ade33a9b331e58e75660d180a109.tar.gz |
Virgin import of Christos Zoulas's FILE 3.35.
Diffstat (limited to 'contrib/file/Magdir')
-rw-r--r-- | contrib/file/Magdir/apple | 28 | ||||
-rw-r--r-- | contrib/file/Magdir/archive | 11 | ||||
-rw-r--r-- | contrib/file/Magdir/elf | 6 | ||||
-rw-r--r-- | contrib/file/Magdir/freebsd | 8 | ||||
-rw-r--r-- | contrib/file/Magdir/jpeg | 5 | ||||
-rw-r--r-- | contrib/file/Magdir/mips | 177 | ||||
-rw-r--r-- | contrib/file/Magdir/netbsd | 4 | ||||
-rw-r--r-- | contrib/file/Magdir/softquad | 1 |
8 files changed, 215 insertions, 25 deletions
diff --git a/contrib/file/Magdir/apple b/contrib/file/Magdir/apple index 35dd435..c2b372b 100644 --- a/contrib/file/Magdir/apple +++ b/contrib/file/Magdir/apple @@ -12,9 +12,15 @@ # magic for Newton PDA package formats # from Ruda Moura <ruda@helllabs.org> -0 string package Newton package, ->7 byte 48 NOS 1.x, ->7 byte 49 NOS 2.x, +0 string package0 Newton package, NOS 1.x, +>12 belong &0x80000000 AutoRemove, +>12 belong &0x40000000 CopyProtect, +>12 belong &0x10000000 NoCompression, +>12 belong &0x04000000 Relocation, +>12 belong &0x02000000 UseFasterCompression, +>16 belong x version %d + +0 string package1 Newton package, NOS 2.x, >12 belong &0x80000000 AutoRemove, >12 belong &0x40000000 CopyProtect, >12 belong &0x10000000 NoCompression, @@ -54,10 +60,10 @@ # categories" and "left to right, top to bottom," respectively; the D and R # mean that the cursor should move either down or right when you press Return. -30 string \x01D AppleWorks database data -30 string \x02D AppleWorks database data -30 string \x01R AppleWorks database data -30 string \x02R AppleWorks database data +#30 string \x01D AppleWorks database data +#30 string \x02D AppleWorks database data +#30 string \x01R AppleWorks database data +#30 string \x02R AppleWorks database data # AppleWorks spreadsheet: # @@ -65,10 +71,10 @@ # row- or column-order recalculation; the A or M means automatic or manual # recalculation. -131 string RA AppleWorks spreadsheet data -131 string RM AppleWorks spreadsheet data -131 string CA AppleWorks spreadsheet data -131 string CM AppleWorks spreadsheet data +#131 string RA AppleWorks spreadsheet data +#131 string RM AppleWorks spreadsheet data +#131 string CA AppleWorks spreadsheet data +#131 string CM AppleWorks spreadsheet data # Applesoft BASIC: # diff --git a/contrib/file/Magdir/archive b/contrib/file/Magdir/archive index ae2be71..ebc8931 100644 --- a/contrib/file/Magdir/archive +++ b/contrib/file/Magdir/archive @@ -243,9 +243,8 @@ # GTKtalog catalogs # by David Necas (Yeti) <yeti@physics.muni.cz> -0 lelong <20 ->4 string gtktalog\ GTKtalog catalog data, ->>13 string 3 version 3 ->>>14 beshort 0x677a (gzipped) ->>>14 beshort !0x677a (not gzipped) ->>13 string >3 version %s +4 string gtktalog\ GTKtalog catalog data, +>13 string 3 version 3 +>>14 beshort 0x677a (gzipped) +>>14 beshort !0x677a (not gzipped) +>13 string >3 version %s diff --git a/contrib/file/Magdir/elf b/contrib/file/Magdir/elf index 4f868b8..d228d9f 100644 --- a/contrib/file/Magdir/elf +++ b/contrib/file/Magdir/elf @@ -71,7 +71,7 @@ >>18 leshort 37 Fujitsu FR20, >>18 leshort 38 TRW RH-32, >>18 leshort 39 Motorola RCE, ->>18 leshort 40 Advanced RISC Machines ARM, +>>18 leshort 40 ARM, >>18 leshort 41 Alpha, >>18 leshort 42 Hitachi SH, >>18 leshort 43 SPARC V9 - invalid byte order, @@ -103,6 +103,8 @@ >>7 byte 8 (IRIX) >>7 byte 9 (FreeBSD) >>7 byte 10 (Tru64) +>>7 byte 11 (Novell Modesto) +>>7 byte 12 (OpenBSD) >>7 byte 97 (ARM) >>7 byte 255 (embedded) >5 byte 2 MSB @@ -162,7 +164,7 @@ >>18 beshort 37 Fujitsu FR20, >>18 beshort 38 TRW RH-32, >>18 beshort 39 Motorola RCE, ->>18 beshort 40 Advanced RISC Machines ARM, +>>18 beshort 40 ARM, >>18 beshort 41 Alpha, >>18 beshort 42 Hitachi SH, >>18 beshort 43 SPARC V9, diff --git a/contrib/file/Magdir/freebsd b/contrib/file/Magdir/freebsd index 2370c25..99eab9c 100644 --- a/contrib/file/Magdir/freebsd +++ b/contrib/file/Magdir/freebsd @@ -126,5 +126,9 @@ # /var/run/ld.so.hints # What are you laughing about? -0 lelong 011421044151 ld.so hints file ->4 lelong >0 (version %d) +0 lelong 011421044151 ld.so hints file (Little Endian +>4 lelong >0 \b, version %d) +>4 belong <=0 \b) +0 belong 011421044151 ld.so hints file (Big Endian +>4 belong >0 \b, version %d) +>4 belong <=0 \b) diff --git a/contrib/file/Magdir/jpeg b/contrib/file/Magdir/jpeg index e8540f8..f18a39e 100644 --- a/contrib/file/Magdir/jpeg +++ b/contrib/file/Magdir/jpeg @@ -10,6 +10,7 @@ # 0 beshort 0xffd8 JPEG image data >6 string JFIF \b, JFIF standard +>6 string Exif \b, EXIF standard # The following added by Erik Rossen <rossen@freesurf.ch> 1999-09-06 # in a vain attempt to add image size reporting for JFIF. Note that these # tests are not fool-proof since some perfectly valid JPEGs are currently @@ -21,8 +22,6 @@ >13 byte 0 \b, aspect ratio >13 byte 1 \b, resolution (DPI) >13 byte 2 \b, resolution (DPCM) ->14 beshort x \b, %d x ->16 beshort x \b %d #>4 beshort x \b, segment length %d # Next, show thumbnail info, if it exists: >18 byte !0 \b, thumbnail %dx @@ -55,6 +54,8 @@ # I've commented-out quantisation table reporting. I doubt anyone cares yet. #>(4.S+5) byte 0xDB \b, quantisation table #>>(4.S+6) beshort x \b length=%d +>14 beshort x \b, %d x +>16 beshort x \b %d # HSI is Handmade Software's proprietary JPEG encoding scheme 0 string hsi1 JPEG image data, HSI proprietary diff --git a/contrib/file/Magdir/mips b/contrib/file/Magdir/mips new file mode 100644 index 0000000..9333bde --- /dev/null +++ b/contrib/file/Magdir/mips @@ -0,0 +1,177 @@ + +#------------------------------------------------------------------------------ +# mips: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.) +# Dec Ultrix (MIPS) +# all of SGI's *current* machines and OSes run in big-endian mode on the +# MIPS machines, as far as I know. +# +# XXX - what is the blank "-" line? +# +# kbd file definitions +0 string kbd!map kbd map file +>8 byte >0 Ver %d: +>10 short >0 with %d table(s) +0 belong 0407 old SGI 68020 executable +0 belong 0410 old SGI 68020 pure executable +0 beshort 0x8765 disk quotas file +0 beshort 0x0506 IRIS Showcase file +>2 byte 0x49 - +>3 byte x - version %ld +0 beshort 0x0226 IRIS Showcase template +>2 byte 0x63 - +>3 byte x - version %ld +0 belong 0x5343464d IRIS Showcase file +>4 byte x - version %ld +0 belong 0x5443464d IRIS Showcase template +>4 byte x - version %ld +0 belong 0xdeadbabe IRIX Parallel Arena +>8 belong >0 - version %ld +# +0 beshort 0x0160 MIPSEB ECOFF executable +>20 beshort 0407 (impure) +>20 beshort 0410 (swapped) +>20 beshort 0413 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>22 byte x - version %ld +>23 byte x .%ld +# +0 beshort 0x0162 MIPSEL-BE ECOFF executable +>20 beshort 0407 (impure) +>20 beshort 0410 (swapped) +>20 beshort 0413 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>23 byte x - version %d +>22 byte x .%ld +# +0 beshort 0x6001 MIPSEB-LE ECOFF executable +>20 beshort 03401 (impure) +>20 beshort 04001 (swapped) +>20 beshort 05401 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>23 byte x - version %d +>22 byte x .%ld +# +0 beshort 0x6201 MIPSEL ECOFF executable +>20 beshort 03401 (impure) +>20 beshort 04001 (swapped) +>20 beshort 05401 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>23 byte x - version %ld +>22 byte x .%ld +# +# MIPS 2 additions +# +0 beshort 0x0163 MIPSEB MIPS-II ECOFF executable +>20 beshort 0407 (impure) +>20 beshort 0410 (swapped) +>20 beshort 0413 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>22 byte x - version %ld +>23 byte x .%ld +# +0 beshort 0x0166 MIPSEL-BE MIPS-II ECOFF executable +>20 beshort 0407 (impure) +>20 beshort 0410 (swapped) +>20 beshort 0413 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>22 byte x - version %ld +>23 byte x .%ld +# +0 beshort 0x6301 MIPSEB-LE MIPS-II ECOFF executable +>20 beshort 03401 (impure) +>20 beshort 04001 (swapped) +>20 beshort 05401 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>23 byte x - version %ld +>22 byte x .%ld +# +0 beshort 0x6601 MIPSEL MIPS-II ECOFF executable +>20 beshort 03401 (impure) +>20 beshort 04001 (swapped) +>20 beshort 05401 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>23 byte x - version %ld +>22 byte x .%ld +# +# MIPS 3 additions +# +0 beshort 0x0140 MIPSEB MIPS-III ECOFF executable +>20 beshort 0407 (impure) +>20 beshort 0410 (swapped) +>20 beshort 0413 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>22 byte x - version %ld +>23 byte x .%ld +# +0 beshort 0x0142 MIPSEL-BE MIPS-III ECOFF executable +>20 beshort 0407 (impure) +>20 beshort 0410 (swapped) +>20 beshort 0413 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>22 byte x - version %ld +>23 byte x .%ld +# +0 beshort 0x4001 MIPSEB-LE MIPS-III ECOFF executable +>20 beshort 03401 (impure) +>20 beshort 04001 (swapped) +>20 beshort 05401 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>23 byte x - version %ld +>22 byte x .%ld +# +0 beshort 0x4201 MIPSEL MIPS-III ECOFF executable +>20 beshort 03401 (impure) +>20 beshort 04001 (swapped) +>20 beshort 05401 (paged) +>8 belong >0 not stripped +>8 belong 0 stripped +>23 byte x - version %ld +>22 byte x .%ld +# +0 beshort 0x180 MIPSEB Ucode +0 beshort 0x182 MIPSEL-BE Ucode +# 32bit core file +0 belong 0xdeadadb0 IRIX core dump +>4 belong 1 of +>16 string >\0 '%s' +# 64bit core file +0 belong 0xdeadad40 IRIX 64-bit core dump +>4 belong 1 of +>16 string >\0 '%s' +# N32bit core file +0 belong 0xbabec0bb IRIX N32 core dump +>4 belong 1 of +>16 string >\0 '%s' +# New style crash dump file +0 string \x43\x72\x73\x68\x44\x75\x6d\x70 IRIX vmcore dump of +>36 string >\0 '%s' +# Trusted IRIX info +0 string SGIAUDIT SGI Audit file +>8 byte x - version %d +>9 byte x .%ld +# +0 string WNGZWZSC Wingz compiled script +0 string WNGZWZSS Wingz spreadsheet +0 string WNGZWZHP Wingz help file +# +0 string \#Inventor V IRIS Inventor 1.0 file +0 string \#Inventor V2 Open Inventor 2.0 file +# GLF is OpenGL stream encoding +0 string glfHeadMagic(); GLF_TEXT +4 belong 0x7d000000 GLF_BINARY_LSB_FIRST +4 belong 0x0000007d GLF_BINARY_MSB_FIRST +# GLS is OpenGL stream encoding; GLS is the successor of GLF +0 string glsBeginGLS( GLS_TEXT +4 belong 0x10000000 GLS_BINARY_LSB_FIRST +4 belong 0x00000010 GLS_BINARY_MSB_FIRST diff --git a/contrib/file/Magdir/netbsd b/contrib/file/Magdir/netbsd index 89da052..c48d903 100644 --- a/contrib/file/Magdir/netbsd +++ b/contrib/file/Magdir/netbsd @@ -239,6 +239,8 @@ >>20 lelong !0 executable >>20 lelong =0 object file >16 lelong >0 not stripped -0 belong&0377777777 043600507 NetBSD/arm32 core +# NetBSD/arm26 has always used ELF objects, but it shares a core file +# format with NetBSD/arm32. +0 belong&0377777777 043600507 NetBSD/arm core >12 string >\0 from '%s' >32 lelong !0 (signal %d) diff --git a/contrib/file/Magdir/softquad b/contrib/file/Magdir/softquad index ffad996..aa16904 100644 --- a/contrib/file/Magdir/softquad +++ b/contrib/file/Magdir/softquad @@ -2,7 +2,6 @@ #------------------------------------------------------------------------------ # softquad: file(1) magic for SoftQuad Publishing Software # -# $Id: softquad,v 1.9 1995/01/21 21:09:00 christos Exp $ # Author/Editor and RulesBuilder # # XXX - byte order? |