FAT12 question
FAT12 question
Hello, when windows formats my diskette with Fat12, the name of the first file, is the name of the diskette, this isn't specified in the FAT MS whitepaper. And when i format with MSDOS6.22 everything is ok. Why is that happening?
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: FAT12 question
I think it has something to do with the Windoze long filename (LFN) kludge. IIRC the LFN directory entries start with the byte 0xF0.
Re: FAT12 question
The Windows format command puts the volume name as the first entry in the root directory - if you enter one. It also sets the file attributes to a special value (0x08 if I remember correctly), so you can skip entries that have this value as the file attributes.Troy Martin wrote:I think it has something to do with the Windoze long filename (LFN) kludge. IIRC the LFN directory entries start with the byte 0xF0.
The LFN entries start with the byte 0x0F as a marker.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: FAT12 question
Ahh, I was close Thanks, now I can add that to my FAT driver when I write it!ru2aqare wrote:The LFN entries start with the byte 0x0F as a marker.
Re: FAT12 question
Thank you very much...