feat: GPT, FAT32 driver, disks app, userspace adapted for multiple drives, and more

This commit is contained in:
daniel committed 2026-03-07 15:58:27 +01:00
1 parent 10826c6298
commit b540a43f39
48 files changed
+5777 -873

No files matched your search

+13
View File
@@ -163,6 +163,19 @@ namespace Fs::Vfs {
return globalHandle;
}
int VfsDelete(const char* path) {
int drive;
const char* localPath;
if (!ParsePath(path, drive, localPath)) return -1;
if (drive < 0 || drive >= MaxDrives || driveTable[drive] == nullptr) return -1;
if (driveTable[drive]->Delete == nullptr) return -1;
return driveTable[drive]->Delete(localPath);
}
int VfsReadDir(const char* path, const char** outNames, int maxEntries) {
int drive;
const char* localPath;