-
UFS2Tool v3.0 Stable
released this
2026-02-13 11:08:31 -06:00 | 8 commits to main since this release🗄️ UFS2Tool v3.0
📟 New UFS Image Commands
rename- Rename a file or directory inside an UFS image
🌍 New Languages
- Svenska
- Suomi
- Polski
- Tiếng Việt
- Română
- Українська
- Čeština
- ไทย
🔧 Fixes
- Critical Core Fixes:
- UFS1:
di_genoffset was wrong - UFS1:
inodelayout mismatch at offset 4 - Superblock Sector Size not recovered on read
- UFS1:
- Other Core Fixes:
- Ufs2Image.ReadFile:
new byte[inode.Size]silently overflows for files >2GB (inode.Sizeislong, array index isint) - Ufs2Image.ReadBlockPointerAt: Only traversed direct + single-indirect blocks; returned 0 for double/triple indirect, breaking operations on large directories
- Ufs2Image.AddDirectoryEntry:
(dirSize - 1) / blockSizecomputes-1whendirSize == 0, causingIndexOutOfRangeException - AlignedStream.Dispose: Flushed
_deviceStreambut never disposed it — file handle leak - Ufs2ImageCreator.MakeFsImage: Inode count used
totalEntries + RootInode(+2) instead of +3 for reserved inodes 0, 1, root - Program.ParseGrowFsSize: Missing
xproduct notation (e.g.,512x1024) thatTryParseMakeFsSizealready supported
- Ufs2Image.ReadFile:
- CLI:
- TryParseIntArg/TryParseLongArg/TryParseStringArg called PrintNewFsUsage() even when invoked from tunefs/makefs/growfs
- GUI:
chmodValidation- Output Log: Missing log updates & possible crash
- Windows Dokan Mounting:
MoveFilenow delegates toRenameinstead of returningNotImplementedFindFilesfunction left timestamps uninitialized for special file types
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads