|
Basic Solution File System - BSFS
|
Implements the touch command for the BSFS filesystem. More...
Functions | |
| int | touch (FILE *disk, superblock_t *sb, char **args) |
| Create an empty regular file. | |
Implements the touch command for the BSFS filesystem.
Creates empty files in the filesystem.
| int touch | ( | FILE * | disk, |
| superblock_t * | sb, | ||
| char ** | args ) |
Create an empty regular file.
Usage: touch <filename>
| disk | Open filesystem image. |
| sb | Loaded superblock. |
| args | Target filename in args[1]. |