Add create_file syscall, CE mkfile command, FatFS formatting fixes
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m16s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m16s
This commit is contained in:
@@ -59,16 +59,13 @@ void bootmain (void) {
|
||||
struct reschedule_ctx rctx = {.cpu = NULL, .reschedule = false};
|
||||
|
||||
struct device* ramdisk = device_find ("RD");
|
||||
vfs_create_volume ("RD", VFS_TARFS, ramdisk);
|
||||
vfs_create_volume ("RD", VFS_TARFS, ramdisk, false);
|
||||
|
||||
struct device* vdisk = device_find ("VD");
|
||||
device_probe_partitions (vdisk);
|
||||
|
||||
struct device* vdp0 = device_find ("VDp0");
|
||||
vfs_create_volume ("VD", VFS_FAT32, vdp0);
|
||||
vfs_volume_open (VFS_KERNEL, "VD", &rctx);
|
||||
vfs_format (VFS_KERNEL, "VD");
|
||||
vfs_volume_close (VFS_KERNEL, "VD", &rctx);
|
||||
vfs_create_volume ("VD", VFS_FAT32, vdp0, true);
|
||||
|
||||
proc_pid_alloc_init ();
|
||||
procgroup_pgid_alloc_init ();
|
||||
|
||||
Reference in New Issue
Block a user