summaryrefslogtreecommitdiffstats
path: root/contrib/file/Magdir
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/file/Magdir')
-rw-r--r--contrib/file/Magdir/elf2
-rw-r--r--contrib/file/Magdir/filesystems4
-rw-r--r--contrib/file/Magdir/hdf7
-rw-r--r--contrib/file/Magdir/jpeg3
-rw-r--r--contrib/file/Magdir/macintosh4
-rw-r--r--contrib/file/Magdir/sql18
6 files changed, 38 insertions, 0 deletions
diff --git a/contrib/file/Magdir/elf b/contrib/file/Magdir/elf
index a6c04ee..bac7f71 100644
--- a/contrib/file/Magdir/elf
+++ b/contrib/file/Magdir/elf
@@ -97,6 +97,7 @@
>>18 leshort 53 Motorola M68HC12,
>>18 leshort 62 AMD x86-64,
>>18 leshort 75 Digital VAX,
+>>18 leshort 97 NatSemi 32k,
>>18 leshort 0x9026 Alpha (unofficial),
>>20 lelong 0 invalid version
>>20 lelong 1 version 1
@@ -183,6 +184,7 @@
>>18 beshort 53 Motorola M68HC12,
>>18 beshort 73 Cray NV1,
>>18 beshort 75 Digital VAX,
+>>18 beshort 97 NatSemi 32k,
>>18 beshort 0x9026 Alpha (unofficial),
>>20 belong 0 invalid version
>>20 belong 1 version 1
diff --git a/contrib/file/Magdir/filesystems b/contrib/file/Magdir/filesystems
index 712f3e4..f34c823 100644
--- a/contrib/file/Magdir/filesystems
+++ b/contrib/file/Magdir/filesystems
@@ -167,6 +167,10 @@
>8320 lelong 1 SPACE optimization
9564 belong 0x00011954 Unix Fast File system (big-endian),
+>7168 long 0x4c41424c Apple UFS Volume
+>>7186 string x named %s,
+>>7176 belong x volume label version %d,
+>>7180 bedate x created on %s,
>8404 string x last mounted on %s,
#>9504 bedate x last checked at %s,
>8224 bedate x last written at %s,
diff --git a/contrib/file/Magdir/hdf b/contrib/file/Magdir/hdf
new file mode 100644
index 0000000..10a21b6
--- /dev/null
+++ b/contrib/file/Magdir/hdf
@@ -0,0 +1,7 @@
+
+#------------------------------------------------------------------------------
+# Hierarchical Data Format, used to facilitate scientific data exchange
+# specifications at http://hdf.ncsa.uiuc.edu/
+
+0 belong 0x0e031301 Hierarchical Data Format (version 4) data
+0 string \211HDF\r\n\032 Hierarchical Data Format (version 5) data
diff --git a/contrib/file/Magdir/jpeg b/contrib/file/Magdir/jpeg
index f18a39e..bedc6c9 100644
--- a/contrib/file/Magdir/jpeg
+++ b/contrib/file/Magdir/jpeg
@@ -59,3 +59,6 @@
# HSI is Handmade Software's proprietary JPEG encoding scheme
0 string hsi1 JPEG image data, HSI proprietary
+
+# From: David Santinoli <david@santinoli.com>
+0 string \x00\x00\x00\x0C\x6A\x50\x20\x20\x0D\x0A\x87\x0A JPEG 2000 image data
diff --git a/contrib/file/Magdir/macintosh b/contrib/file/Magdir/macintosh
index 1fb8241..277cb6b 100644
--- a/contrib/file/Magdir/macintosh
+++ b/contrib/file/Magdir/macintosh
@@ -16,6 +16,10 @@
0 string Seg StuffIt Deluxe Segment (data)
>2 string x : %s
+# Newer StuffIt archives (grant@netbsd.org)
+0 string StuffIt StuffIt Archive
+>162 string >0 : %s
+
# Macintosh Applications and Installation binaries (franklsm@tuns.ca)
0 string APPL Macintosh Application (data)
>2 string x \b: %s
diff --git a/contrib/file/Magdir/sql b/contrib/file/Magdir/sql
new file mode 100644
index 0000000..29741d95
--- /dev/null
+++ b/contrib/file/Magdir/sql
@@ -0,0 +1,18 @@
+
+#------------------------------------------------------------------------------
+# sql: file(1) magic for SQL files
+#
+# From: "Marty Leisner" <mleisner@eng.mc.xerox.com>
+# Recognize some MySQL files.
+#
+0 beshort 0xfe01 MySQL table definition file
+>2 byte x Version %d
+0 belong&0xffffff00 0xfefe0300 MySQL MISAM index file
+>3 byte x Version %d
+0 belong&0xffffff00 0xfefe0700 MySQL MISAM compressed data file
+>3 byte x Version %d
+0 belong&0xffffff00 0xfefe0500 MySQL ISAM index file
+>3 byte x Version %d
+0 belong&0xffffff00 0xfefe0600 MySQL ISAM compressed data file
+>3 byte x Version %d
+0 string \376bin MySQL replication log
OpenPOWER on IntegriCloud