diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-03-15 12:22:12 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-03-15 12:22:12 -0600 |
commit | 88fb59990a4cf35744eec66840a5894c0c3d2f93 (patch) | |
tree | 473895b860bf709b42f2d7b858c0d2a280d2bcb7 /nuttx/TODO | |
parent | d8f9c391d0ab40f0d83e5263ea868cbf84a2ed6f (diff) | |
download | px4-nuttx-88fb59990a4cf35744eec66840a5894c0c3d2f93.tar.gz px4-nuttx-88fb59990a4cf35744eec66840a5894c0c3d2f93.tar.bz2 px4-nuttx-88fb59990a4cf35744eec66840a5894c0c3d2f93.zip |
Costmetic changes name while debugging a filename issue
Diffstat (limited to 'nuttx/TODO')
-rw-r--r-- | nuttx/TODO | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/nuttx/TODO b/nuttx/TODO index 66e1be827..5ec04619a 100644 --- a/nuttx/TODO +++ b/nuttx/TODO @@ -17,7 +17,7 @@ nuttx/ (6) Binary loaders (binfmt/) (12) Network (net/, drivers/net) (4) USB (drivers/usbdev, drivers/usbhost) - (11) Libraries (libc/, libm/) + (12) Libraries (libc/, libm/) (11) File system/Generic drivers (fs/, drivers/) (9) Graphics subystem (graphics/) (1) Pascal add-on (pcode/) @@ -1303,6 +1303,35 @@ o File system / Generic drivers (fs/, drivers/) Status: Open Priority: Medium + Title: MISSING FILES IN NSH 'LS' OF A DIRECTORY + Description: I have seen cases where (1) long file names are enabled, + but (2) a short file name is created like: + + nsh> echo "This is another thest" >/mnt/sdcard/another.txt + + But then on subsequent 'ls' operations, the file does not appear: + + nsh> ls -l /mnt/sdcard + + I have determined that the problem is because, for some as- + of-yet-unkown reason the short file name is treated as a long + file name. The name then fails the long filename checksum + test and is skipped. + + readdir() (and fat_readdir()) is the logic underlying the + failure and the problem appears to be something unique to the + fat_readdir() implementation. Why? Because the file is + visible when you put the SD card on a PC and because this + works fine: + + nsh> ls -l /mnt/sdcard/another.txt + + The failure does not happen on all short file names. I do + not understand the pattern. But I have not had the opportunity + to dig into this deeply. + Status: Open + Priority: Medium-High + o Graphics subsystem (graphics/) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |