VFAT root directory

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
oxff
Posts: 2
Joined: Mon Apr 07, 2014 3:23 am

VFAT root directory

Post by oxff »

Hi! I've got problem with simple VFAT driver: as you can see in screenshot, every file in root directory has LFN entry, except file AASS.d. For it there is only old 8+3 entry. AASS.d was created in the same way as other files. So the question is why some files haven't got LFN entry? Thank you
Attachments
vfat.jpg
jnc100
Member
Member
Posts: 775
Joined: Mon Apr 09, 2007 12:10 pm
Location: London, UK
Contact:

Re: VFAT root directory

Post by jnc100 »

If a filename fulfills the 8.3 convention, with all capital letters, then it does not need a long file name entry too. In your screenshot, AASS.D is the only file which fulfills this requirement, therefore it does not have a long file name entry.

Regards,
John.
Octocontrabass
Member
Member
Posts: 5604
Joined: Mon Mar 25, 2013 7:01 pm

Re: VFAT root directory

Post by Octocontrabass »

Additionally, Windows (and Linux, depending on how the filesystem is mounted) can make specific parts of 8.3 filenames lowercase without using a LFN. If you created that disk using Windows instead of Linux, only the "Test" folder would have a LFN entry.
oxff
Posts: 2
Joined: Mon Apr 07, 2014 3:23 am

Re: VFAT root directory

Post by oxff »

jnc100 wrote:If a filename fulfills the 8.3 convention, with all capital letters, then it does not need a long file name entry too. In your screenshot, AASS.D is the only file which fulfills this requirement, therefore it does not have a long file name entry.

Regards,
John.
Understand, thank you! :)
Post Reply