CE add mkdir command, implement create_dir () syscall
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m1s

This commit is contained in:
2026-03-05 00:38:58 +01:00
parent 0897f08212
commit 35d5bed433
12 changed files with 100 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ struct vfs_volume {
size_t entry_num);
int (*create_file) (struct vfs_volume* volume, const char* path);
int (*create_dir) (struct vfs_volume* volume, const char* path);
} driver_ops;
struct device* back_device;
void* udata
@@ -79,6 +81,8 @@ int vfs_read_dir_entry (struct proc* proc, const char* volume, const char* path,
int vfs_create_file (struct proc* proc, const char* volume_name, const char* path);
int vfs_create_dir (struct proc* proc, const char* volume_name, const char* path);
void vfs_init (void);
void vfs_translate (size_t fs_block, size_t fs_block_count, size_t fs_block_size,