|
Basic Solution File System - BSFS
|
Implements the cp command for the BSFS filesystem. More...
Functions | |
| int | cp (FILE *disk, superblock_t *sb, char **args) |
| Copy a file. | |
Implements the cp command for the BSFS filesystem.
Copies files within the filesystem.
| int cp | ( | FILE * | disk, |
| superblock_t * | sb, | ||
| char ** | args ) |
Copy a file.
Usage: cp <src> <dst>
| disk | Open filesystem image. |
| sb | Loaded superblock. |
| args | Source path in args[1], destination path in args[2]. |