Update TODO list and some comments
This commit is contained in:
parent
f60f22258a
commit
ddb8073ad5
30
TODO
30
TODO
@ -1330,7 +1330,35 @@ o File system / Generic drivers (fs/, drivers/)
|
|||||||
not understand the pattern. But I have not had the opportunity
|
not understand the pattern. But I have not had the opportunity
|
||||||
to dig into this deeply.
|
to dig into this deeply.
|
||||||
Status: Open
|
Status: Open
|
||||||
Priority: Medium-High
|
Priority: Perhaps not a problem??? I have analyzed this problem and
|
||||||
|
I am not sure what to do about it. I am suspected that a
|
||||||
|
fat filesystem was used with a version of NuttX that does
|
||||||
|
not support long file name entries. Here is the failure
|
||||||
|
scenario:
|
||||||
|
|
||||||
|
1) A file with a long file name is created under Windows.
|
||||||
|
2) Then the file is deleted. I am not sure if Windows or
|
||||||
|
NuttX deleted the file, but the resulting directory
|
||||||
|
content is not compatible with NuttX with long file
|
||||||
|
name support.
|
||||||
|
|
||||||
|
The file deletion left the full sequence of long
|
||||||
|
file name entries intact but apparently delete only
|
||||||
|
the following short file name entry. I am thinking
|
||||||
|
that this might have happened because a version of NuttX
|
||||||
|
with only short file name support was used to delete
|
||||||
|
the file.
|
||||||
|
|
||||||
|
3) When a new file with a short file name was created, it
|
||||||
|
re-used the short file name entry that was previously
|
||||||
|
deleted. This makes the new short file name entry
|
||||||
|
look like a part of the long file name.
|
||||||
|
|
||||||
|
4) When comparing the checksum in the long file name
|
||||||
|
entry with the checksum of the short file name, the
|
||||||
|
checksum fails and the entire directlry sequence is
|
||||||
|
ignored by readder() logic. This the file does not
|
||||||
|
appear in the 'ls'.
|
||||||
|
|
||||||
o Graphics subsystem (graphics/)
|
o Graphics subsystem (graphics/)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -1198,9 +1198,10 @@ static inline int fat_findlfnentry(struct fat_mountpt_s *fs,
|
|||||||
{
|
{
|
||||||
nentries++;
|
nentries++;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(nentries > 0 && nentries <= LDIR_MAXLFNS);
|
DEBUGASSERT(nentries > 0 && nentries <= LDIR_MAXLFNS);
|
||||||
|
|
||||||
/* This is the first sequency number we are looking for, the sequence
|
/* This is the first sequence number we are looking for, the sequence
|
||||||
* number of the last LFN entry (remember that they appear in reverse
|
* number of the last LFN entry (remember that they appear in reverse
|
||||||
* order.. from last to first).
|
* order.. from last to first).
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user