ext2/vfs: implement read fs call

also implement the cat command!
This commit is contained in:
Michael Shaw 2023-10-21 00:45:38 -04:00
commit ad2de927e2
8 changed files with 128 additions and 9 deletions

View file

@ -9,6 +9,7 @@ static const char *errno_str[] = {
[EINVAL] = "Invalid argument",
[EBADF] = "Bad file descriptor",
[ENOTDIR] = "Not a directory",
[EISDIR] = "Is a directory",
};
inline const char *strerror(int errnum)