projects
/
oweals
/
mountd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c0a1f
)
fs: add support for HFSX Plus file system
master
author
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 4 Jan 2019 15:10:00 +0000
(16:10 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 4 Jan 2019 15:13:58 +0000
(16:13 +0100)
HFSX is an extension to HFS+ for supporting case-sensitive file
and folder names
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
fs.c
patch
|
blob
|
history
diff --git
a/fs.c
b/fs.c
index d9bcc63cb9891d157df30cd58c641a7d7c3f56e4..f4e8edc635dceff507df8c6281ca741b1a363999 100644
(file)
--- a/
fs.c
+++ b/
fs.c
@@
-149,7
+149,7
@@
static int detect_hfsplus(int fd)
goto out;
magic = get_be_short(buffer);
journal = get_be_long(buffer + 4) & HFSPLUS_VOL_JOURNALED;
- if(magic == 0x482B)
+ if(magic == 0x482B
|| magic == 0x4858
)
{
if(!journal)
ret = HFSPLUS;