Skip to main content

Crate fs_mac

Crate fs_mac 

Source
Expand description

Classic Mac filesystems, each behind its own Cargo feature.

FeatureModulesWhat
hfshfs, hfs_fsck, hfs_clone, hfs_boot, hfv, mac_aliasHFS: read, edit, create, check, clone to a new block size, boot blocks, flat BasiliskII .hfv volumes
mfsmfsMacintosh File System (the 400K-floppy filesystem): read, edit, create
hfsplushfsplus, hfsplus_fsck, hfsplus_journal, hfsplus_clone, hfsplus_defrag, hfsplus_wrapper_cloneHFS+ / HFSX: read, edit, create, check, journal replay, defragmenting clone (flat or HFS-wrapped)
lisalisaLisa File System, read-only, from DiskCopy 4.2 images with tags
forksresource_fork, binhex, fork_exportresource forks, BinHex 4.0, fork-aware export

hfs_common (B-trees, dates, type/creator codes) is always built. Name ordering comes from the GPL fs-mac-unicode crate. All fields are big-endian.

Modules§

binhex
BinHex 4.0 (.hqx) encode + decode.
fork_export
Fork-preserving single-file export, shared by the browse view’s “Extract” and Commander’s copy/export-to-host.
hfs
hfs_boot
Classic-HFS boot-block helpers shared by the CLI and GUI “make bootable” paths.
hfs_clone
Source-side snapshot types for the classic-HFS reformat-and-copy pipeline.
hfs_common
Shared helpers for HFS and HFS+ filesystem editing.
hfs_fsck
HFS filesystem checker (fsck) — read-only integrity verification.
hfsplus
hfsplus_clone
Source-side snapshot types for the HFS+ reformat-and-copy pipeline.
hfsplus_defrag
Streamed defragmenting clone for HFS+/HFSX (Step 22 of docs/hfsplus_enhancements.md).
hfsplus_fsck
Lightweight HFS+ / HFSX filesystem checker.
hfsplus_journal
HFS+ journal: on-disk parse, replay, and a transactional write recorder.
hfsplus_wrapper_clone
Wrapper-aware HFS+ defrag clone.
hfv
BasiliskII HFV support — flat, partition-less classic-HFS volume images.
lisa
Apple Lisa File System — read-only browse + extract.
mac_alias
Classic Mac alias resolution.
mfs
Macintosh File System (MFS) — the pre-HFS filesystem shipped on 400 KB single-sided 3.5“ floppies for the original Mac, Mac 512K, and the Macintosh Plus (until System 3.0 brought HFS).
resource_fork
Resource fork serialization for HFS/HFS+ file extraction.