|
Basic Solution File System - BSFS
|
Implements the cd command for the BSFS filesystem. More...
Functions | |
| int | cd (FILE *disk, superblock_t *sb, char **args) |
| Change current working directory. | |
Implements the cd command for the BSFS filesystem.
Changes the current working directory.
| int cd | ( | FILE * | disk, |
| superblock_t * | sb, | ||
| char ** | args ) |
Change current working directory.
Usage: cd <directory>
| disk | Open filesystem image. |
| sb | Loaded superblock. |
| args | Expects directory path in args[1]. |