feat: expose drive labels to userspace, render in Files

This commit is contained in:
2026-04-22 07:45:33 +02:00
parent 38b1f8a7ef
commit 7fa2b6c54b
20 changed files with 261 additions and 38 deletions
+2
View File
@@ -28,6 +28,7 @@ namespace Fs::Vfs {
int (*Delete)(const char* path);
int (*Mkdir)(const char* path);
int (*Rename)(const char* oldPath, const char* newPath);
const char* (*GetLabel)();
};
void Initialize();
@@ -48,5 +49,6 @@ namespace Fs::Vfs {
// Returns number of registered drives, fills outDrives[] with their indices
int VfsDriveList(int* outDrives, int maxEntries);
int VfsDriveLabel(int driveNumber, char* outLabel, int maxLen);
}