Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 24738df in mainline


Ignore:
Timestamp:
2011-08-25T20:12:17Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
c80100f
Parents:
26ad20b
Message:

Use the same value for SPC for all FAT variants in mkfat.

  • This makes it possible to create a FAT file system between ~2M and ~8M.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkfat/mkfat.c

    r26ad20b r24738df  
    235235         */
    236236
    237         if (cfg->fat_type == FAT12)
    238                 cfg->sectors_per_cluster = 1;
    239 
    240237        cfg->reserved_sectors = 1 + cfg->addt_res_sectors;
    241238        if (cfg->fat_type != FAT32) {
Note: See TracChangeset for help on using the changeset viewer.