|
Basic Solution File System - BSFS
|
Implements the stat command for the BSFS filesystem. More...
Functions | |
| int | stat (FILE *disk, superblock_t *sb, char **args) |
| Show inode metadata for a path. | |
Implements the stat command for the BSFS filesystem.
Shows metadata information about a file or directory.
| int stat | ( | FILE * | disk, |
| superblock_t * | sb, | ||
| char ** | args ) |
Show inode metadata for a path.
Usage: stat <path>
| disk | Open filesystem image. |
| sb | Loaded superblock. |
| args | Path in args[1]. |