LeavaTail / debugfatfs

FAT/exFATのファイルシステム情報出力プログラム
GNU General Public License v2.0
2 stars 0 forks source link

Failed to load short filename in FAT12 #14

Closed LeavaTail closed 4 years ago

LeavaTail commented 4 years ago

Describe the bug

To Reproduce make check and cat tests/02_simple_inetractive_check.sh.log

Expected behavior

Welcome to debugfatfs 0.1 (Interactive Mode)

/> cd 00_SIMPLE
'00_SIMPLE': No such file or directory.
/> ls
-HSD-        0 2020-09-13 15:49:29 System Volume Information 
---DA        0 2020-09-13 15:49:40 03_DELETE 
---DA        0 2020-09-13 15:49:40 00_SIMPLE 
---DA        0 2020-09-13 15:49:40 01_LONGNAME 
---DA        0 2020-09-13 15:49:40 02_UNICODE 

/> cd /01_LONGNAME
/01_LONGNAME/> ls
---D-        0 2020-09-13 15:49:40 .           
---D-        0 2020-09-13 15:49:40 ..          
----A        6 2020-09-13 15:49:40 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
----A        6 2020-09-13 15:49:40 あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ

/01_LONGNAME/> cd /02_UNICODE
/02_UNICODE/> ls
---D-        0 2020-09-13 15:49:40 .           
---D-        0 2020-09-13 15:49:40 ..          
----A        0 2020-09-13 15:49:40 ABCDEFGHIJKLMNOPQRSTUVWXYZ! 
----A        0 2020-09-13 15:49:40 ¼ 
----A        0 2020-09-13 15:49:40 Ō 
----A        0 2020-09-13 15:49:40 あいうえお 

/02_UNICODE/> cd /03_DELETE
/03_DELETE/> ls
---D-        0 2020-09-13 15:49:40 .           
---D-        0 2020-09-13 15:49:40 ..          
----A        0 2020-09-13 15:49:40 FILE    .TXT 
----A        0 2020-09-13 15:49:40 FILE4__________________________________________________________________________________________________.txt 
----A        0 2020-09-13 15:49:40 FILE6   .TXT 

Screenshots

spawn ./debugfatfs -iq fat12.img
Welcome to debugfatfs 0.1 (Interactive Mode)

/> cd 00_SIMPLE
'00_SIMPLE': No such file or directory.
/> ls
-HSD-        0 2020-09-13 07:36:17 System Volume Information 
---DA        0 2020-09-13 07:36:55 00_SIMPLE 
---DA        0 2020-09-13 07:36:55 01_LONGNAME 
---DA        0 2020-09-13 07:36:55 02_UNICODE 
---DA        0 2020-09-13 07:36:55 03_DELETE 

/> cd /01_LONGNAME
/01_LONGNAME/> ls

/01_LONGNAME/> cd /02_UNICODE
/02_UNICODE/> ls
-----  3407917 1980-01-17 00:01:38 { 
-----  3670083 1980-01-13 00:01:50 F 
-----        0 1980-00-00 00:00:00 0 

/02_UNICODE/> cd /03_DELETE
/03_DELETE/> ls
---D-        0 2020-09-13 07:36:55 .           
---D-        0 2020-09-13 07:36:55 ..          
----A       19 2020-09-13 07:36:55 FILE    .TXT 
---DA        0 2020-09-13 07:36:55 DIR         

/03_DELETE/> spawn ./debugfatfs -iq fat16.img
Welcome to debugfatfs 0.1 (Interactive Mode)