The format of file and path name on the FatFs module is similer to MS-DOS. However does not have a concept of current directory, all objects on the drive are specified in full path from the roor directory.
"Drive#:directory/file" "file1.txt" a file on drive 0 "/file1.txt" (same as above) "dir1/dir2/file1.txt" a file on drive 0 "2:dir3/file2.txt" a file on drive 2 "2:/dir5" a directory on drive 2 "" the root directory on drive 0 "/" (same as above) "2:" the root directory on drive 2
The FatFs module supports only 8.3 format file name and long file name is currentry not supported. For directory separator, a '/' is used, not a '\'.
The FatFs module has work areas that called file system object for each logical drive. The logical drive number is specified in a numeral with a colon. When drive number is omitted, it means the default drive (0). The logical drive is bound to the physical drive that has same drive number.
As for the Tiny-FatFs, it has only one logical drive and always works as drive 0. Any drive number cannot be contained in the path name.