Ok. Don't want to sound greedy or anything lol, but can you answer these questions as well?tueidj said:Possibly, since they both use gekko_io.c/.h files you might be able see which bits need changing.
You mentioned the bug in this link. This bug could be fixed by either changing it to
#define MAX_SECTOR_SIZE 4096
Or
#define BYTES_PER_SECTOR 4096
Both are the same correct? Because we are just "defining" something? Except in libext2fs, if the current define name is changed, I may have to change other parts of code in the source to recognize the new #define name?
The bugs you mentioned here and here,
struct ext2_super_block * super = (struct ext2_super_block *) mem_alloc(SUPERBLOCK_SIZE); //1024 bytes, so this is saying superblock_size is a structure and it is assigned to sectors of 1024 bytes, while this, if (!interface->readSectors(fd->startSector+SUPERBLOCK_OFFSET/BYTES_PER_SECTOR, SUPERBLOCK_SIZE/BYTES_PER_SECTOR, super)), piece of code is saying it divides 1024 making 512b which is the bug.
Correct me if I am wrong, but I understand this much, but changing simple values from 512 to 4096 and 1024 to 8192: Will this actually work?