Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. FAT32 filesystem

FAT32 filesystem

Scheduled Pinned Locked Moved IT & Infrastructure
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yeah1000
    wrote on last edited by
    #1

    Hi, i am having trouble understanding FAT32 filesystem. As i understand there is a cluster in the file allocation table for each cluster in the data area of the disk (containing its address). But that would mean that half of the size of the disk would be taken up by FAT. If all the clusters in the data area are used that means that there is an equal number of clusters in the FAT that points to each and every one of them. Could someone please explain :)

    L 1 Reply Last reply
    0
    • Y yeah1000

      Hi, i am having trouble understanding FAT32 filesystem. As i understand there is a cluster in the file allocation table for each cluster in the data area of the disk (containing its address). But that would mean that half of the size of the disk would be taken up by FAT. If all the clusters in the data area are used that means that there is an equal number of clusters in the FAT that points to each and every one of them. Could someone please explain :)

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, File Systems don't waste half of the disk space for administrative purposes; they typically need a map to keep track of allocation, i.e. one bit per sector (i.e. 1 bit for 512 bytes), or one bit per cluster. Clusters are just collections of N consecutive sectors, clustered file systems allocate by the cluster, not by the sector; the main purpose is to keep the allocation index shorter; in Windows they got introduced to make sure all the sectors of a partition can be located with a 16-bit index (so on a 320MB partition, there are 64K clusters of 5KB each). This[^] should contain the details for the Windows approach. :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups