Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

FUSE module for .dmg files (containing an HFS+ filesystem)

License

NotificationsYou must be signed in to change notification settings

darlinghq/darling-dmg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project allows ordinary users to directly mount OS X disk images under Linux via FUSE. darling-dmg is part of Darling -http://www.darlinghq.org

Without darling-dmg, the only way to do this would be to manually extract the DMG file, become root and mount the HFS+ filesystem as root. This is slow, wasteful and may even crash your system. The project's author has seen the Linux HFS+ implementation cause kernel crashes.

Supported file types

  • DMG (UDIF) files containing an Apple Disk Image.
  • Apple Disk Images containing an HFS+/HFSX file system.
  • HFS+/HFSX file systems (incl. file systems embedded within HFS).

This means, darling-dmg can mount DMG files or unpacked DMG files or a single partition carved out of the latter.

Read only access only.

Build Requirements

DependencyRequired versionNotes
GCC/Clang>5 (GCC), >3 (Clang)Compiler with C++11 support
CMake3.10Build system
pkg-configLibrary-agnostic package detection
OpenSSLBase64 decoding
Bzip2Decompression
ZlibDecompression
FUSE2.x (not 3.x)Userspace filesystem support
libicuUnicode support
libxml2XML (property list) parsing

darling-dmg requires a C++11-capable compiler, CMake >3.10 andmake alongside the remaining dependencies mentioned above. Below are common ways to install library dependencies.

On Fedora (and derivatives):

sudo dnf install fuse-devel bzip2-devel libicu-devel libxml2-devel openssl-devel zlib-devel pkgconf

On Debian (and derivatives):

sudo apt-get install libfuse-dev libbz2-dev libicu-dev libxml2-dev libssl-dev libz-dev pkg-config

On Alpine Linux:

sudo apk add fuse-dev bzip2-dev icu-dev libxml2-dev openssl-dev zlib-dev pkgconf

Usage

darling-dmg <file-to-mount> <where-to-mount> [FUSE arguments]

Accessing resource forks

Resource forks are available via xattrs (extended attributes) or preferably under the name/original/filename#..namedfork#rsrc.

Reusability

Some people have had success with using darling-dmg as a library for their own use.


[8]ページ先頭

©2009-2025 Movatter.jp