darlinghq / darling-dmg

FUSE module for .dmg files (containing an HFS+ filesystem)
http://www.darlinghq.org
GNU General Public License v3.0
273 stars 45 forks source link

LZFSE is not supported #88

Closed zivkaspersky closed 5 years ago

zivkaspersky commented 5 years ago

I think its because the compression of some section in the DMG is LZFSE

Darling [~/Documents]$ hdiutil attach 9bcf01399719755034c964549a6a3af38932e7eaf03febc8b3742306505ca8a9 
Skipping partition of type Apple_partition_map
Using partition #1 of type Apple_HFS
Error: Unexpected EOF from readRun

Possible reasons:
1) The file is corrupt.
2) The file is not really a DMG file, although it resembles one.
3) There is a bug in darling-dmg.

link to DMG *do take care this dmg might contain a malware

tomkoen commented 5 years ago

Please see the COMPILE_WITH_LZFSE compile switch

LubosD commented 5 years ago

I'm afraid this compile switch is not yet used in the hdiutil build.

zivkaspersky commented 5 years ago

So it's already developed and still wasn't released?

LubosD commented 5 years ago

Basically yes, because releasing it for Darling (and not just for use outside of Darling) requires adding liblzfse to the build, which hasn't been done yet.

ahyattdev commented 5 years ago

Works now