On 09.02.2025 19:06, Fritz Mueller via Freedos-devel wrote:
[...] but format still does not support full 2 TB, only something a little below, but this makes it hard for USERS (like me) to understand the correct usage if fdisk says "this is the maximum size" and format gives an error message because this is too much size for it. And strictly spoken it is not the debt of format, but of the kernel (I have a test version of the kernel where this problems does not occur and you can create real 2 TB).
Correct, it results from an integer overflow in initdsk.c. I fixed this more than two years ago [1]. But as there was no official kernel release since then, this bug is also present in the kernel shipped with FreeDOS 1.4 RC2.
[1]: https://github.com/FDOS/kernel/commit/cfdd09963fa7bc473942fcc643586233e88c3d68
Bernd _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel