multikernel icon indicating copy to clipboard operation
multikernel copied to clipboard

[fs] Retrieve File Statistics

Open ppenna opened this issue 4 years ago • 0 comments

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

ppenna avatar Aug 28 '20 12:08 ppenna