1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! Classic Mac filesystems, each behind its own Cargo feature.
//!
//! | Feature | Modules | What |
//! |---|---|---|
//! | `hfs` | [`hfs`], [`hfs_fsck`], [`hfs_clone`], [`hfs_boot`], [`hfv`], [`mac_alias`] | HFS: read, edit, create, check, clone to a new block size, boot blocks, flat BasiliskII `.hfv` volumes |
//! | `mfs` | [`mfs`] | Macintosh File System (the 400K-floppy filesystem): read, edit, create |
//! | `hfsplus` | [`hfsplus`], [`hfsplus_fsck`], [`hfsplus_journal`], [`hfsplus_clone`], [`hfsplus_defrag`], [`hfsplus_wrapper_clone`] | HFS+ / HFSX: read, edit, create, check, journal replay, defragmenting clone (flat or HFS-wrapped) |
//! | `lisa` | [`lisa`] | Lisa File System, read-only, from DiskCopy 4.2 images with tags |
//! | `forks` | [`resource_fork`], [`binhex`], [`fork_export`] | resource 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.
// `is_multiple_of` & co. come from disk-core's rust173 polyfill on 1.73; the real floor check is a 1.73 build.