multikernel
multikernel copied to clipboard
[fs] Retrieve File Statistics
Description
We should introduce basic support for retrieving file statistics. In a nutshell we should introduce a nanvix_stat()
system call that would collect information such as size and access permissions of a given file.
Files and Directories
- File System Client:
src/libruntime/fs/
- File System Server:
src/sys/fs/vfs
References
- https://pubs.opengroup.org/onlinepubs/9699919799/functions/stat.html