• v4.1 00317e32bb

    UFS2Tool v4.1 Stable

    archiver-bot released this 2026-05-08 07:01:52 -05:00 | 4 commits to main since this release

    🗄️ UFS2Tool v4.1

    Upgraded to DokanNet 2.3.0.3 & Avalonia 12.0.2

    • Switched to the new DokanNet fluent builder and instance-based mount/unmount lifecycle
    • Replaced deprecated TextBox.Watermark with PlaceholderText across all views
    • Removed the no-longer-needed DisableAvaloniaDataAnnotationValidation workaround
    • Added a TryGetInode() helper so file operations reuse the cached inode from when a handle is opened, instead of walking the directory tree on every call
    • DeleteDirectory now returns a proper "directory not empty" error
    • ReadFile now validates the read offset is non-negative
    • Buffer copies switched to Buffer.BlockCopy for better performance
    • Test project migrated from xUnit v2 to xUnit v3

    Fixed fsck_ufs -b <altsuperblock> being silently ignored

    • The -b flag now correctly reads the superblock from the specified alternate sector
    • A confirmation message is printed when an alternate superblock is used
    • Out-of-range sector values are now rejected with a clear error

    Fixed newfs -S 4096 producing unreadable images

    • Sector size is now normalized to 512 bytes for filesystem layout, mirroring FreeBSD's own newfs behavior
    • The -s N size parameter is now correctly interpreted in real-sector units
    • Images created with any -S value now produce identical, valid filesystem layouts
    Downloads