summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2021-09-13 13:23:53 +0000
committerChristos Zoulas <christos@zoulas.com>2021-09-13 13:23:53 +0000
commit1ee3a7f9860517e28f4dba303d9a65ea983cdf9d (patch)
tree07eca5943128af897c02f0e635bf3d67a86c7b7a
parent360436c8502150b0ef99d6ffd5683463804d863a (diff)
downloadfile-git-1ee3a7f9860517e28f4dba303d9a65ea983cdf9d.tar.gz
From Nathan Scott:
- support for the version 3 PCP archive format - support for pmlogconf and pmlogger config file detection - tweaked output for #kmchart configs to reflect the tool that reads them (the kmchart tool was renamed to pmchart ~15 years ago) - removal of some commented-out little endian lines (except in very early development of the Linux port ~20 years ago, PCP archives have always been big endian and we don't expect that to ever change now)
-rw-r--r--magic/Magdir/sgi20
1 files changed, 13 insertions, 7 deletions
diff --git a/magic/Magdir/sgi b/magic/Magdir/sgi
index 95192047..fe532e00 100644
--- a/magic/Magdir/sgi
+++ b/magic/Magdir/sgi
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: sgi,v 1.23 2018/05/29 02:26:56 christos Exp $
+# $File: sgi,v 1.24 2021/09/13 13:23:53 christos Exp $
# sgi: file(1) magic for Silicon Graphics operating systems and applications
#
# Executable images are handled either in aout (for old-style a.out
@@ -74,25 +74,27 @@
0 string PmNs PCP compiled namespace (V.0)
0 string PmN PCP compiled namespace
>3 string >\0 (V.%1.1s)
-#3 lelong 0x84500526 PCP archive
3 belong 0x84500526 PCP archive
>7 byte x (V.%d)
-#>20 lelong -2 temporal index
-#>20 lelong -1 metadata
-#>20 lelong 0 log volume #0
-#>20 lelong >0 log volume #%d
>20 belong -2 temporal index
>20 belong -1 metadata
>20 belong 0 log volume #0
>20 belong >0 log volume #%d
>24 string >\0 host: %s
+3 belong 0x28500526 PCP archive
+>7 byte x (V.%d)
+>24 belong -2 temporal index
+>24 belong -1 metadata
+>24 belong 0 log volume #0
+>24 belong >0 log volume #%d
+>36 string >\0 host: %s
0 string PCPFolio PCP
>9 string Version: Archive Folio
>18 string >\0 (V.%s)
0 string #pmchart PCP pmchart view
>9 string Version
>17 string >\0 (V%-3.3s)
-0 string #kmchart PCP kmchart view
+0 string #kmchart PCP pmchart view
>9 string Version
>17 string >\0 (V.%s)
0 string pmview PCP pmview config
@@ -112,6 +114,10 @@
>16 string >\0 (V.%1.1s)
3 string pmieconf-pmie PCP pmie config
>17 string >\0 (V.%1.1s)
+0 string #pmlogconf-setup PCP pmlogconf config
+>17 string >\0 (V.%1.1s)
+1 string pmlogconf PCP pmlogger config
+>11 string >\0 (V.%1.1s)
0 string MMV PCP memory mapped values
>4 long x (V.%d)