fatfs v0.10b Mar 19,2014:

- Fixed a hard error in the disk I/O layer can collapse the directory entry.
- Fixed LFN entry is not deleted on delete/rename an object with lossy converted SFN.
This commit is contained in:
savelij13 committed 2025-09-11 10:02:42 +03:00
1 parent 93faa45738
commit fb65f51fbe
64 files changed
+575 -520

No files matched your search

+5 -5
View File
@@ -16,7 +16,7 @@
<p>The f_setlabel function sets/removes the label of a volume.</p>
<pre>
FRESULT f_setlabel (
const TCHAR* <span class="arg">name</span> <span class="c">/* [IN] Volume label to be set */</span>
const TCHAR* <span class="arg">label</span> <span class="c">/* [IN] Volume label to be set */</span>
);
</pre>
</div>
@@ -24,7 +24,7 @@ FRESULT f_setlabel (
<div class="para arg">
<h4>Parameters</h4>
<dl class="par">
<dt>name</dt>
<dt>label</dt>
<dd>Pointer to the null-terminated string that specifies the volume label to be set.</dd>
</dl>
</div>
@@ -49,11 +49,11 @@ FRESULT f_setlabel (
<div class="para desc">
<h4>Description</h4>
<p>When the string has a drive number, the volume label will be set to the volume specified by the drive number. If the volume label is a null-string, the volume label on the volume will be removed. The format of the volume label is similar to the SFN but there are some differences shown below:</p>
<p>When the string has a drive number, the volume label will be set to the volume specified by the drive number. If not, the label will be set to the default drive. If the given string is a null-string, the volume label on the volume will be removed. The format of the volume label is similar to the short file name but there are some differences shown below:</p>
<ul>
<li>11 bytes or less in length as local character code.</li>
<li>11 bytes or less in length as local character code. LFN extention is not applied to the volume label.</li>
<li>Cannot contain period.</li>
<li>Can contain spaces anywhere in the name.</li>
<li>Can contain spaces anywhere in the volume label. Trailing spaces are truncated off.</li>
</ul>
</div>