cluster sizes for sectors > 512

Discussion in 'Windows Vista Drivers' started by skyrancher, Apr 8, 2005.

  1. skyrancher

    skyrancher Guest

    Hi all,

    I'm looking for information about selecting a FAT type (FAT16, or FAT32) for
    a media where the sector size is NOT 512. In this particular case, it is
    2048.

    The FAT type is dependent on the number of clusters.

    I can get the total number of sectors and sector size, but I need the number
    of clusters per sector to calculate to calculate the number of clusters, and
    therefore which type of FAT to select.

    The Microsoft White Paper for FAT32 has a nice fixed lookup table to
    determine sectors per cluster based on the total number of sectors. However,
    it plainly states that this is for 512 byte sectors only.

    Can anyone point me to a good description of how to calculate this for 2K
    sectors? Or if there is a table someone has put together?

    TIA
     
    skyrancher, Apr 8, 2005
    #1
    1. Advertisements

  2. Try it yourself. I would use the table but multiply your total sector count
    by 4 before searching. Then I would try other values if that one fails.
     
    David J. Craig, Apr 8, 2005
    #2
    1. Advertisements

  3. The FAT type is dependent on the number of clusters.

    FAT12/16 is really based on the volume size in sectors, but sorry, FAT16/32
    choice is a user's choice. You can format, say, 256MB USB flash for both FAT or
    FAT32.
     
    Maxim S. Shatskih, Apr 10, 2005
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.