Don't create fake dos partitions for TEMP

This commit is contained in:
2026-03-10 21:07:09 +01:00
parent 4b099f04f5
commit e9806c862c
2 changed files with 6 additions and 27 deletions

View File

@@ -60,14 +60,11 @@ void bootmain (void) {
devices_init ();
vfs_init ();
struct device* ramdisk = device_find ("RD");
vfs_create_volume ("RD", FS_TARFS, ramdisk, false);
struct device* rd0 = device_find ("RD0");
vfs_create_volume ("RD", FS_TARFS, rd0, false);
struct device* temp = device_find ("TEMP");
device_probe_partitions (temp);
struct device* tempp0 = device_find ("TEMPp0");
int x = vfs_create_volume ("TEMP", FS_FAT16, tempp0, true);
struct device* temp0 = device_find ("TEMP0");
int x = vfs_create_volume ("TEMP", FS_FAT16, temp0, true);
proc_pid_alloc_init ();
procgroup_pgid_alloc_init ();