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
+4
View File
@@ -38,6 +38,10 @@ namespace Fs::Ramdisk {
return n;
}
const char* GetLabel() {
return "Ramdisk";
}
static bool StartsWith(const char* str, const char* prefix) {
while (*prefix) {
if (*str != *prefix) return false;