Hello, in the last two weeks I ported Free FDISK to Watcom C and started fixing the bugs people mentioned at the bttr forum and in the issue trackers.
For people wanting to track the progress, I am doing the development at the following repository: https://github.com/boeckmann/fdisk. I will make merge requests to upstream https://github.com/fdos/fdisk in regular intervals and uploaded an interim build (compiled with Open Watcom) at https://nextcloud.iww.rwth-aachen.de/index.php/s/egSe4Jyj9zx72ag I touched the source at many places, so I can not rule out that I have introduced new bugs but plan to continue working on it. For the moment, please consider it beta and dangerous. If you want something to be changed please send me an e-mail. I will try to implement it if time permits it. User visible changes so far: Version 1.3.5 (unreleased) -------------------------- - CRITICAL: Fix FDISK loading wrong head and sector values from MBR if operating in LBA mode. The previous incorrect behaviuor was hardcoding them to cylinder boundaries instead of calculating them from LBA address, resulting in corrupt partition tables especially if used in combination with other disk utilities. - CRITICAL: Fix different calculation errors leading to overlapping partitions, unnessessary free space between them, or partitions exceeding the end of the disk. - CRITICAL: Fix a bug resulting in detecting non-existant extra cylinders if detection of extra cylinders is enabled. - ENHANCEMENT: Warn if user tries to use FDISK with a disk size of >2TB, because it can not handle it properly. If the user decides to continue the disk size is truncated to 2TB, making sure nothing bad happens by some overflowing values. - ENHANCEMENT: Free FDISK now compiles with Open Watcom C. Greetings, Bernd _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel