Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Bug in FreeDOS FDISK 1.3.4 or BIOS? (Developers)

posted by boeckmann, Aachen, Germany, 21.11.2022, 11:21

The main problem seems to be independant from the creation of the extended partition. If I create the FAT32 partition FDISK says it is 2047 MB in size. After restarting FDISK it thinks the partition is 2055 MB in size. If I make any modifications, like setting the partition active, that modified partition size gets written to disk. That behaviour does not happen if FDISK is forced into CHS mode by giving the /x command line argument. So for me it seems anywhere in the LBA to CHS translation code of FDISK there may be an off-by-one error.

The second thing: The end CHS value of the extended partition, which is beyond the 8GB limit, seems to simply overflow. Is that common behaviour or should that better be set to 1023/255/63 to indicate an invalid entry?

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 185 users online (0 registered, 185 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum