- Supported multiple drive system. - Changed some APIs for multiple drive system. - Added f_mkfs().
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 | |
| <html lang="en">
 | |
| <head>
 | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 | |
| <meta http-equiv="Content-Style-Type" content="text/css">
 | |
| <link rel="up" title="FatFs" href="../00index_e.html">
 | |
| <link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
 | |
| <title>FatFs - File and Path name on the FatFs module</title>
 | |
| </head>
 | |
| 
 | |
| <body>
 | |
| <h2>File and Path name on the FatFs module</h2>
 | |
| 
 | |
| <div class="para">
 | |
| <p>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.</p>
 | |
| <pre>
 | |
| 
 | |
|  "<em>Drive#</em>:<em>directory</em>/<em>file</em>"
 | |
| 
 | |
|  "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
 | |
| 
 | |
| </pre>
 | |
| <p>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 '\'.</p>
 | |
| <p>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.</p>
 | |
| <p>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.</p>
 | |
| </div>
 | |
| 
 | |
| </body>
 | |
| </html>
 |