ISO9660 filesystem driver
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 40s
Build documentation / build-and-deploy (push) Successful in 33s

This commit is contained in:
2026-04-06 22:45:54 +02:00
parent 385b1f0db0
commit 8ae16342b6
12 changed files with 911 additions and 19 deletions

View File

@@ -241,7 +241,7 @@ static void ls (struct context* context, const char* path_string) {
char type = (desc.type == FS_DIR ? 'D' : 'F');
cprintf (context, "%c %-40s %-40s\n", type, entry.path, size_buf);
cprintf (context, "%c %-50s %-10s\n", type, path_basename (entry.path), size_buf);
}
volume_close ();
@@ -306,6 +306,8 @@ static void mkvol (struct context* context, const char* volume, const char* str_
fs_type = FS_FAT16;
} else if (strcmp (str_fs_type, "fat32") == 0) {
fs_type = FS_FAT32;
} else if (strcmp (str_fs_type, "iso9660") == 0) {
fs_type = FS_ISO9660;
} else {
cprintf (context, "ERROR Unknown filesystem '%s'\n", str_fs_type);
return;