]> granicus.if.org Git - file/commitdiff
fixes from NetBSD magics
authorChristos Zoulas <christos@zoulas.com>
Wed, 1 Nov 2006 20:05:45 +0000 (20:05 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 1 Nov 2006 20:05:45 +0000 (20:05 +0000)
magic/Magdir/archive
magic/Magdir/commands
magic/Magdir/filesystems
magic/Magdir/riff

index 87c2f95cc9e95f2709894b4c5c1b804c430ba16f..e110fd4811949bafbb019d1ce73f8124ad48d85d 100644 (file)
 # RAR archiver (Greg Roelofs, newt@uchicago.edu)
 0      string          Rar!            RAR archive data,
 >44    byte            x               v%0x,
+>10    byte            >0              flags:
+>>10   byte            &0x01           Archive volume,
+>>10   byte            &0x02           Commented,
+>>10   byte            &0x04           Locked,
+>>10   byte            &0x08           Solid,
+>>10   byte            &0x20           Authenticated,
 >35    byte            0               os: MS-DOS
 >35    byte            1               os: OS/2
 >35    byte            2               os: Win32
 # From: Tilman Sauerbeck <tilman@code-monkey.de>
 0      belong  0x1ee7ff00      EET archive
 
+# rzip archives
+0      string  RZIP            rzip compressed data
+>4     byte    x               - version %d
+>5     byte    x               \b.%d
+>6     belong  x               (%d bytes)
+
 # From: "Robert Dale" <robdale@gmail.com>
 0      belong  123             dar archive,
 >4     belong  x               label "%.8x
index 24649844b155d47bd6ff8649590c241f4d3df5ce..2bdffbebf2bf4f5b50d624b47e812c395bd9f502 100644 (file)
@@ -52,3 +52,5 @@
 0      string/b        #!\ /usr/bin/php        PHP script text executable
 
 0      string          Zend\x00                PHP script Zend Optimizer data
+
+0      string          \$!                     DCL command file
index 5fa3df65c56b20aa17651904ff27fd245acf6dc6..5563ef761520ff56f96f185fbf0468612d9e9b33 100644 (file)
 >>51   lelong  x       blocksize: %d bytes,
 >39    ledate  x       created: %s
 
+0      string          td\000          floppy image data (TeleDisk)
+
 # AFS Dump Magic
 # From: Ty Sarna <tsarna@sarna.org> 
 0       string                  \x01\xb3\xa1\x13\x22    AFS Dump
index 1f1deeca3b423d020c5112b9c0413d9659f4940d..01c6f1b16ae3bf1900c9e5869a41f5dd9e315c61 100644 (file)
@@ -29,6 +29,8 @@
 >8     string          RMID            \b, MIDI
 # RIFF Multimedia Movie File format
 >8     string          RMMP            \b, multimedia movie
+# RIFF wrapper for MP3
+>8     string          RMP3            \b, MPEG Layer 3 audio
 # Microsoft WAVE format (*.wav)
 >8     string          WAVE            \b, WAVE audio
 >>20   leshort         1               \b, Microsoft PCM
 >>>>>>>(104.l+132)      string/c        divx    DivX 4
 >>>>>>>(104.l+132)      string/c        dx50    DivX 5
 >>>>>>>(104.l+132)      string/c        xvid    XviD
+>>>>>>>(104.l+132)      string/c        wmv3    Windows Media Video 9
 >>>>>>>(104.l+132)      string/c        h264    X.264
 >>>>>>>(104.l+132)      lelong  0
 ##>>>>>>>(104.l+132)      string  x       (%.4s)
 >>>>>>>(92.l+172)       string          strf
 >>>>>>>>(92.l+180)      leshort 0x0001  uncompressed PCM
 >>>>>>>>(92.l+180)      leshort 0x0002  ADPCM
+>>>>>>>>(92.l+180)      leshort 0x0006  aLaw
+>>>>>>>>(92.l+180)      leshort 0x0007  uLaw
+>>>>>>>>(92.l+180)      leshort 0x0050  MPEG-1 Layer 1 or 2
 >>>>>>>>(92.l+180)      leshort 0x0055  MPEG-1 Layer 3
 >>>>>>>>(92.l+180)      leshort 0x2000  Dolby AC3
 >>>>>>>>(92.l+180)      leshort 0x0161  DivX