Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-16373

Implement filesystem driver for FATX (Xbox variant of FAT16 and FAT32)

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 0.4.15
    • Drivers: Filesystems
    • QEMU, 128 MB RAM

    Description

      I created a virtual Xbox hard disk drive image from scratch using XboxHDM, and then manually added MBR header with just one partition record linked to the actual FATX E:\ partition.

      Entire virtual disk size is 8 GB, but this partition is only 4.8 GB.

      Observations:

      •  usetup properly displays filesystem and partition size
      •  disk properties shows "FAT" filesystem type instead of "FATX32"
      •  disk properties properly shows used disk space and partition size
      •  explorer does not show any files except RECYCLED, which also seems unexistent
      •  cmd does not find any files on disk

      I also compared disk images after VM shutdown, it tried to write RECYCLED directory to the FATX partition multiple times, but it seems without success.

      And there is noticeable "filesystem corruption" spam in the debug log. It used to work many years ago, so marking this as regression.

      Update as of 2021-03-25: a new filesystem driver should be created, as official MS FastFAT does not support this filesystem.

      Debug log attached. You can download compressed disk image here: https://cloud.mail.ru/public/3t9F/3oad2Jfgc

      Attachments

        1. fatx_browse.png
          fatx_browse.png
          17 kB
        2. fatx_cmd.png
          fatx_cmd.png
          11 kB
        3. fatx_debug.log
          120 kB
        4. fatx_propdisk.png
          fatx_propdisk.png
          20 kB
        5. fatx_propfile.png
          fatx_propfile.png
          15 kB
        6. fatx_usetup.png
          fatx_usetup.png
          7 kB
        7. hexdiff.png
          hexdiff.png
          11 kB
        8. LiveCD-0.4.15-dev-2248-g3a14c97d0c.png
          LiveCD-0.4.15-dev-2248-g3a14c97d0c.png
          47 kB
        9. PR4694_fatx_boot.txt
          11 kB
        10. xboxhdm_rootdir.png
          xboxhdm_rootdir.png
          4 kB

        Issue Links

          Activity

            People

              hpoussin hpoussin
              binarymaster Stas'M
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: