Examples:
FF_RAMDiskInit() is the initialisation function for FreeRTOS+FAT's RAM disk media driver. It demonstrates how to partition a disk, format a partition, mount the formatted partition, and add the mounted partition to the FreeRTOS+FAT virtual file system. The mounted partition appears as /ram.
The files and directories created by prvCreateDiskAndExampleFiles() can be viewed and manipulated using both the FTP server example and the UDP command line interface (information on both of these below).
| Command | Description |
| dir | View a directory listing |
| cd <path> | Change the current working directory (CWD) to <path> |
| del <file> | Delete <file> |
| rmdir <path> | Remove the directory <path> - the directory must be empty |
| type <file> | Display the contents of <file>. |
| copy <src> <dest> | Copy the file <src> to the file <dest> |
| pwd | Print the working directory |
Accessing the file system through the command line interface