CE add rm command, implement remove () syscall
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m51s

This commit is contained in:
2026-03-05 01:17:13 +01:00
parent 35d5bed433
commit a5f5dbf21f
12 changed files with 106 additions and 7 deletions

View File

@@ -50,6 +50,8 @@ struct vfs_volume {
int (*create_file) (struct vfs_volume* volume, const char* path);
int (*create_dir) (struct vfs_volume* volume, const char* path);
int (*remove) (struct vfs_volume* volume, const char* path);
} driver_ops;
struct device* back_device;
void* udata
@@ -83,6 +85,8 @@ int vfs_create_file (struct proc* proc, const char* volume_name, const char* pat
int vfs_create_dir (struct proc* proc, const char* volume_name, const char* path);
int vfs_remove (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,