summaryrefslogtreecommitdiff
path: root/usr/src/cmd/file/magic
diff options
context:
space:
mode:
authorRich Burridge <rich.burridge@sun.com>2010-04-01 10:59:20 -0700
committerRich Burridge <rich.burridge@sun.com>2010-04-01 10:59:20 -0700
commitf1da2ee03988f5e19f8675cf79f35acda1875c9c (patch)
treed08204bf5719b4d37870cd0d96a4d5e74b439481 /usr/src/cmd/file/magic
parent66cd0f60c3182913d379abb730ae755bf6367126 (diff)
downloadillumos-joyent-f1da2ee03988f5e19f8675cf79f35acda1875c9c.tar.gz
1169892 *file* file(1) does not understand kodak photocd file format.
1196398 *file*(1) and /etc/magic don't recognize "Microsoft PostScript" files (CTRL-D%!)
Diffstat (limited to 'usr/src/cmd/file/magic')
-rw-r--r--usr/src/cmd/file/magic12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/cmd/file/magic b/usr/src/cmd/file/magic
index fc851dffd4..c434912aba 100644
--- a/usr/src/cmd/file/magic
+++ b/usr/src/cmd/file/magic
@@ -1,6 +1,5 @@
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -287,6 +286,8 @@
>10 string -1.0 1.0
>10 string -2.0 2.0
>10 string -3.0 3.0
+# Handle Microsoft PostScript files (CTRL-D%!)
+0 string \004%! PostScript document text
# version ID follows, in the form PS-Adobe-nn
0 string Interpress/Xerox Interpress document
# version ID follows, in the form /n.n
@@ -591,6 +592,13 @@
>9 ubyte x %u,
>11 ubyte x %u channel(s)
+2048 string PCD_IPI Kodak Photo CD image pack file
+>0xe02 byte&0x03 0x00 , landscape mode
+>0xe02 byte&0x03 0x01 , portrait mode
+>0xe02 byte&0x03 0x02 , landscape mode
+>0xe02 byte&0x03 0x03 , portrait mode
+0 string PCD_OPA Kodak Photo CD overview pack file
+
# MS Documents. Not much info available.
0 string \320\317\021\340\241\261\032\341 Microsoft
>546 string bjbj Word