Skip to content

v0.7.0

@gregordinary gregordinary tagged this 29 Oct 23:20
A fifth family: APFS, read and written. ferrosys reads an APFS container and every volume
in it, each as it is and as its snapshots keep it, and writes one laid out as newfs_apfs
lays one out on macOS 14, 15, 26 and 27. ImageSource gives any image's tree as a source,
so one family's image formats another's, and every reader holds a filesystem to its
partition.

Breaking: the default features add apfs, lzvn, lzfse and lzbitmap, and the license
expression is (MIT OR Apache-2.0) AND Unicode-3.0 AND BSD-3-Clause; a build without apfs,
lzvn and lzfse compiles code under MIT OR Apache-2.0 alone. Deviation has a required
method, is_source_failure. A scan holds a read its source failed in source_failures,
apart from its findings, and the findings document is schema 3.
ext::rewrite_identity_at takes the region's length, ext::ondisk::time_is_representable
the inode size, ExtractReport::dropped_xattrs takes the place of xattrs_dropped, and
fat::Times::create is an Option. A strict walk refuses a directory the tree reaches twice.

Added: apfs::Container, Reader and scan read a container, a volume or a snapshot, a name
found as the volume compares names under Unicode 17.0, and a compressed file through
zlib, LZVN, LZFSE, LZBITMAP or stored bytes. apfs::format, format_to and FormatPlan::fit
write a container from any Source, its volumes holding BSD flags and compressed forms, a
root snapshot, and a System and Data group with firmlinks; ferrosys format -t apfs writes
one, and inspect and extract read one. SourceEntry::darwin carries BSD flags and
compressed forms, Metadata::btime a birth time on every family, and LayeredSource::remove
takes a path out of a composed source. OpenOptions::len and --length hold a reader to a
partition, and DirectorySink::skip_unsupported and extract --skip-unsupported write what
a destination holds.

Changed: the FAT and exFAT readers hold dot entries, reserved characters, names a lookup
cannot tell apart, benign exFAT entry sets, written lengths and chains past a stream's
length to their formats. inspect exits 8 for a source that failed. An extraction writes a
FAT, exFAT or btrfs volume's /lost+found like any other directory. The LZO decoder ends a
stream at the distance its documentation states.

Fixed: a filesystem inside a partition was read on into the next one. A 128-byte ext
inode was written times it does not hold; a btrfs entry could carry one attribute twice,
an attribute named by nothing, or a time whose fraction was a second or more; and a zstd
extent of a few kilobytes could make the btrfs reader allocate gigabytes. A tar archive
wrote a device number past seven octal digits as another number, and --to-dir stopped as
an I/O error for a name, an attribute or an owner the destination does not hold.

The minimum supported Rust version, 1.88, is unchanged.

Full notes in CHANGELOG.md.
Assets 2
Loading