CE add mkdir command, implement create_dir () syscall
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m1s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m1s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user