summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2022-12-06 18:45:20 +0000
committerChristos Zoulas <christos@zoulas.com>2022-12-06 18:45:20 +0000
commit389fc963b5d3cb9ac9654eba57ecbe72fd3cb3c0 (patch)
treeb675ee16eddcf4773eea30cebe465f44a5bccb47
parent81734cf2cb8bcf63791688b7314e4b0dab18d2b0 (diff)
downloadfile-git-389fc963b5d3cb9ac9654eba57ecbe72fd3cb3c0.tar.gz
Debian #1024639 via Christoph Biedl:
Support Apple HFSX version 5 (HFS Plus Extended)
-rw-r--r--magic/Magdir/macintosh9
1 files changed, 7 insertions, 2 deletions
diff --git a/magic/Magdir/macintosh b/magic/Magdir/macintosh
index 483d5a7b..a74aac48 100644
--- a/magic/Magdir/macintosh
+++ b/magic/Magdir/macintosh
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: macintosh,v 1.35 2022/10/31 13:22:26 christos Exp $
+# $File: macintosh,v 1.36 2022/12/06 18:45:20 christos Exp $
# macintosh description
#
# BinHex is the Macintosh ASCII-encoded file format (see also "apple")
@@ -455,7 +455,7 @@
>>>0x412 beshort x number of blocks: %d,
>>>0x424 pstring x volume name: %s
-0x400 beshort 0x482B Macintosh HFS Extended
+0 name hfsplus
>&0 beshort x version %d data
>0 beshort 0x4C4B (bootable)
>0x404 belong ^0x00000100 (mounted)
@@ -474,6 +474,11 @@
>&42 belong x number of blocks: %d,
>&46 belong x free blocks: %d
+0x400 beshort 0x482B Apple HFS Plus
+>&0 use hfsplus
+0x400 beshort 0x4858 Apple HFS Plus Extended
+>&0 use hfsplus
+
## AFAIK, only the signature is different
# same as Apple Partition Map
# GRR: This magic is too weak, it is just "TS"