summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-10-24 15:49:51 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-10-24 15:49:51 +0000
commit124ccb3329240cf308d860fcbd3b4811f1d1a704 (patch)
tree5ed0d81cd2c66622b895b49bbd23d2fd6ed2ad20 /usr.bin/file
parent21c2d66cd6bbcd1dc2204f0c1ae3fc63932fbb98 (diff)
Notes
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/Magdir/animation6
-rw-r--r--usr.bin/file/Magdir/elf1
-rw-r--r--usr.bin/file/Magdir/java8
3 files changed, 14 insertions, 1 deletions
diff --git a/usr.bin/file/Magdir/animation b/usr.bin/file/Magdir/animation
index 9d2dc8e69aa2..18ae9daa201f 100644
--- a/usr.bin/file/Magdir/animation
+++ b/usr.bin/file/Magdir/animation
@@ -7,7 +7,11 @@
# FLC, SGI, Apple originally from Daniel Quinlan (quinlan@yggdrasil.com)
# MPEG animation format
-0 string \000\000\001\263 MPEG file
+0 belong 0x000001b3 Mpeg video stream data
+#>4 beshort&0xfff0 x (%d x
+#>5 beshort&0x0fff x %d)
+0 belong 0x000001ba Mpeg system stream data
+0 beshort&0xfff0 0xfff0 Mpeg audio stream data
# FLI animation format
4 leshort 0xAF11 FLI file
diff --git a/usr.bin/file/Magdir/elf b/usr.bin/file/Magdir/elf
index f99712feba66..5ecd1c2b5c9d 100644
--- a/usr.bin/file/Magdir/elf
+++ b/usr.bin/file/Magdir/elf
@@ -54,3 +54,4 @@
>>20 belong 0 invalid version
>>20 belong 1 version 1
>>36 belong 1 MathCoPro/FPU/MAU Required
+>8 string >\0 (%s)
diff --git a/usr.bin/file/Magdir/java b/usr.bin/file/Magdir/java
new file mode 100644
index 000000000000..c717f884f314
--- /dev/null
+++ b/usr.bin/file/Magdir/java
@@ -0,0 +1,8 @@
+#------------------------------------------------------------------------------
+# java: file(1) magic for java compiled classes
+#
+
+0 belong 0xCafeBabe compiled java class data,
+>4 beshort x version %d.
+>6 beshort x \b%d
+