Repository navigation
exfat-resize 1.0.2
This release improves performance and robustness on fragmented filesystems, clarifies CLI recovery guidance, and fixes a regular-image locking race.
CLI
- Re-read a regular image’s size after obtaining the exclusive lock. This prevents stale bounds when another process grows or shrinks the image while the CLI is acquiring it.
- All normal failures before the first filesystem write—including invalid arguments, invalid sizes, device-open failures, and preflight errors—now explicitly report that no write was attempted and that the error may be corrected before retrying.
C library
- Snapshot the used portion of the source FAT with a single preflight read, substantially reducing repeated FAT I/O, especially for fragmented file and directory chains.
- Traverse the validated allocation model when rewriting target directories, avoiding reads from the newly written target FAT.
- Use independent caches for source-directory data, source-bitmap data, and target-directory data. This prevents unrelated accesses from evicting or aliasing one another.
Reliability and portability
- Added regression coverage for contiguous and fragmented FAT chains, allocator failures, cache isolation, and crash recovery.
- Strengthened finalization durability tests to compare the complete durable image and ensure finalization only writes the expected boot-sector state.
- Added native ARM64 Linux CI coverage.
- Improved documentation for installation, platform portability, transaction guarantees, memory requirements, recovery, and security reporting.
Full Changelog: v1.0.1...v1.0.2