Readout Storage File System Type RRS feed

  • Question

  • Hello,

    I use the following resistry settings for an WInCE 6.0 Storage device:

      "CacheSize"=dword:00000190 ; 0x190 (400) = 512kB
      "Flags"=dword:00000008 ; FATFS_VERIFY_WRITES

    How can I see if WinCE really had used TexFAT after formatting of the storage device is completed? With FindFirstPartition() I could only see in the PartInfo struct, that WinCE had used exfat.dll.



    Wednesday, March 16, 2011 2:42 PM

All replies

  • You may indentifying the FAT type by reading the BOOTSEC::bsFileSysType or BIGFATBOOTSEC::bgbsFileSysType in Boot Sector
    Or refer to public\common\oak\drivers\fsd\fatutil\main\formatdisk.cpp to see how the FileSysType set up

    Wednesday, March 16, 2011 8:28 PM
  • In formatdisk.cpp i can see, that FormatVolumeInternalEx() is called. So I think I am use exFAT at the moment. But I like to use TexFAT. Is TexFAT an separate formatting type or uses TexFAT exFAT file system?

    How can I readout BOOTSEC::bsFileSysType?

    Thursday, March 17, 2011 7:52 AM
  • You need to read the bootsector (sector 0) from the partition.
    You can also use the public\common\oak\drivers\fsd\fatutil\main\formatdisk.cpp as an example for how to access boot sector.

    Thursday, March 17, 2011 4:47 PM