From: Ian Darwin Date: Thu, 11 May 1989 15:01:40 +0000 (+0000) Subject: Initial revision X-Git-Tag: FILE3_27~334 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6c34a75b30b19f0ee7609ad119ed84a06761365;p=file Initial revision --- diff --git a/magic/Magdir/blit b/magic/Magdir/blit new file mode 100644 index 00000000..ce1d7778 --- /dev/null +++ b/magic/Magdir/blit @@ -0,0 +1,9 @@ +# 68K Blit stuff as seen from 680x0 machine +# Note that this 0407 conflicts with several other a.out formats... +0 long 0407 68K Blit (standalone) executable +0 short 0407 VAX-order2 68K Blit (standalone) executable +0 short 03401 VAX-order 68K Blit (standalone) executable +0 long 0406 68k Blit mpx/mux executable +0 short 0406 VAX-order2 68k Blit mpx/mux executable +0 short 03001 VAX-order 68k Blit mpx/mux executable +# Need values for WE32 DMD executables. diff --git a/magic/Magdir/fonts b/magic/Magdir/fonts new file mode 100644 index 00000000..594db76d --- /dev/null +++ b/magic/Magdir/fonts @@ -0,0 +1,3 @@ +0 string FONT ASCII vfont text +0 short 0436 Berkeley vfont data +0 short 017001 byte-swapped Berkeley vfont data diff --git a/magic/Magdir/frame b/magic/Magdir/frame new file mode 100644 index 00000000..2d503c66 --- /dev/null +++ b/magic/Magdir/frame @@ -0,0 +1,4 @@ +# Magic number for FrameMaker files +# Thanks to Berry Kercheval +# +0 string \31 byte <0x040 small model +>31 byte =0x048 large model +>31 byte =0x049 huge model +>16 long >0 not stripped +0 string MZ DOS executable (EXE) +0 string LZ DOS executable (built-in) +0 byte 0xe9 DOS executable (COM) +0 byte 0xeb DOS executable (COM) +0 short =0512 80286 executable small model (COFF) +>12 long >0 not stripped +>22 short >0 - version %ld +0 short =0522 80286 executable large model (COFF) +>12 long >0 not stripped +>22 short >0 - version %ld +0 short =0514 80386 executable +>12 long >0 not stripped +>22 short >0 - version %ld + diff --git a/magic/Magdir/old/tower b/magic/Magdir/old/tower new file mode 100644 index 00000000..891a7ed0 --- /dev/null +++ b/magic/Magdir/old/tower @@ -0,0 +1,44 @@ +# NCR Tower objects, contributed by +# Michael R. Wayne *** TMC & Associates *** INTERNET: wayne@ford-vax.arpa +# uucp: {philabs | pyramid} !fmsrl7!wayne OR wayne@fmsrl7.UUCP +# +0 short 000610 Tower/XP rel 2 object +>12 long >0 not stripped +>20 short 0407 executable +>20 short 0410 pure executable +>22 short >0 -version %ld +0 short 000615 Tower/XP rel 2 object +>12 long >0 not stripped +>20 short 0407 executable +>20 short 0410 pure executable +>22 short >0 -version %ld +0 short 000620 Tower/XP rel 3 object +>12 long >0 not stripped +>20 short 0407 executable +>20 short 0410 pure executable +>22 short >0 -version %ld +0 short 000625 Tower/XP rel 3 object +>12 long >0 not stripped +>20 short 0407 executable +>20 short 0410 pure executable +>22 short >0 -version %ld +0 short 000630 Tower32/600/400 68020 object +>12 long >0 not stripped +>20 short 0407 executable +>20 short 0410 pure executable +>22 short >0 -version %ld +0 short 000640 Tower32/800 68020 +>18 short &020000 w/68881 object +>18 short &040000 compatible object +>18 short &~060000 object +>20 short 0407 executable +>20 short 0413 pure executable +>12 long >0 not stripped +>22 short >0 -version %ld +0 short 000645 Tower32/800 68010 +>18 short &040000 compatible object +>18 short &~060000 object +>20 short 0407 executable +>20 short 0413 pure executable +>12 long >0 not stripped +>22 short >0 -version %ld diff --git a/magic/Magdir/old/vax.byteswap b/magic/Magdir/old/vax.byteswap new file mode 100644 index 00000000..be51ecea --- /dev/null +++ b/magic/Magdir/old/vax.byteswap @@ -0,0 +1,17 @@ +# Byte-swapped VAXen +# From: dupuy@amsterdam.columbia.edu (Alexander Dupuy) +# +# Here are a few lines you can add to /etc/magic on your sun workstations in +# order to recognize VAX executables and objects.... you could do something +# similar (in reverse) for your vaxen, but since 4.3+NFS' file(1) doesn't look +# for /etc/magic, I've never bothered. It really should be built in to file(1) +# so you would see the state of setuid/setgid/sticky bits. Or actually, there +# should be support for checking that sort of thing in /etc/magic. +# +0 long 00700200000 VAX executable +>16 long &0x7fffffff not stripped +0 long 01000200000 VAX pure executable +>16 long &0x7fffffff not stripped +0 long 01300200000 VAX demand-paged pure executable +>16 long &0x7fffffff not stripped +0 long 01100200000 PDP-11 executable diff --git a/magic/Magdir/sccs b/magic/Magdir/sccs new file mode 100644 index 00000000..d27c5a70 --- /dev/null +++ b/magic/Magdir/sccs @@ -0,0 +1,17 @@ +# SCCS archive structure: +# \001h01207 +# \001s 00276/00000/00000 +# \001d D 1.1 87/09/23 08:09:20 ian 1 0 +# \001c date and time created 87/09/23 08:09:20 by ian +# \001e +# \001u +# \001U +# ... etc. +# Now '\001h' happens to be the same as the 3B20's a.out magic number (0550). +# *Sigh*. And these both came from various parts of the USG. +# Maybe we should just switch everybody from SCCS to RCS! +# Further, you can't just say '\001h0', because the five-digit number +# is a checksum that could (presumably) have any leading digit, +# and we don't have regular expression matching yet. +# Hence the following official kludge: +8 string \001s\ SCCS archive. diff --git a/magic/Magdir/sequent b/magic/Magdir/sequent new file mode 100644 index 00000000..c9567eeb --- /dev/null +++ b/magic/Magdir/sequent @@ -0,0 +1,9 @@ +# For Sequent's multiprocessor systems (incomplete). +0 long 000352 BALANCE NS32000 .o +0 long 010352 BALANCE NS32000 executable (0 @ 0) +>16 long >0 not stripped +0 long 020352 BALANCE NS32000 executable (invalid @ 0) +>16 long >0 not stripped +0 long 030352 BALANCE NS32000 standalone executable +>16 long >0 not stripped +# Also need info on Sequent "Symmetry" series...