Possible bug in FAT dir listing

Chris Johns chrisj at rtems.org
Wed Jan 14 22:15:38 UTC 2009


Gene Smith wrote:
> Till Straumann wrote:
>> Chris Johns wrote:
>>> I think the FAT code is ok 
>> Not sure - I vaguely recall encountering a similar problem
>> (w/o using your 'ls' command). Could this be related to PR#1273 ?
> 
> I think it is related. If I copy in a file with LFN you get several 
> entries in the "directory entry" area for that file. All but the one 
> with the name e.g., 123456~1.TXT has the attribute 0xf but all show like 
> above (with a leading A, I think) and are not hidden when displayed.
> 
> This for me is a minor problem. But the only one so far I have been able 
> to get a handle on dealing with my MMC cards.
> 

I do not see the problem with LFN, then again my code handles the reading them 
and I am teaching it to write them. :-)

Regards
Chris



More information about the users mailing list