From: Hans Dedecker Date: Fri, 4 Jan 2019 15:10:00 +0000 (+0100) Subject: fs: add support for HFSX Plus file system X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;ds=inline;p=oweals%2Fmountd.git fs: add support for HFSX Plus file system HFSX is an extension to HFS+ for supporting case-sensitive file and folder names Signed-off-by: Hans Dedecker --- diff --git a/fs.c b/fs.c index d9bcc63..f4e8edc 100644 --- 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;