Re: File system hangs.
Posted: Thu Jun 05, 2025 6:56 am
Yes
Code: Select all
if (strncmp(temp, FS_SIGNATURE, 5) == 0) {
terminal_writestring("Reading fs sectors...\n");
ata_read_sectors(FS_SECTOR + 1, sizeof(fs_root) / 512, fs_root);
terminal_writestring("Done reading fs sectors...\n");
} else {
memset(fs_root, 0, sizeof(fs_root));
fs_save();
}