ISO9660 filesystem driver
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user