add symlink command

This commit is contained in:
2025-05-17 18:52:52 +03:00
parent 72a02047d5
commit 552e574cde
4 changed files with 173 additions and 6 deletions

View File

@@ -4,7 +4,8 @@
enum fs_filetype {
REGULAR,
DIRECTORY
DIRECTORY,
SYMLINK
};
__attribute__((packed))
@@ -73,6 +74,7 @@ int fs_close(void *d);
int fs_mkdir(void *d);
int fs_rmdir(void *d);
int fs_cd(void *d);
int fs_symlink(void *d);
int fs_truncate(void *d);
int fs_allow_write(void *d);
int fs_prohibit_write(void *d);