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

Changeset 602c3d8c in mainline for uspace/app/mkfat/fat.h


Ignore:
Timestamp:
2011-08-16T19:51:23Z (10 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master
Children:
c56c4576
Parents:
ae560da
Message:

Improve HelenOS mkfat. Add option "—type 12|16|32" to toggle FAT type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkfat/fat.h

    rae560da r602c3d8c  
    3838#define BS_BLOCK                0
    3939#define BS_SIZE                 512
     40#define DIRENT_SIZE             32
    4041
    41 #define DIRENT_SIZE             32
     42#define FAT12_CLST_MAX    4085
     43#define FAT16_CLST_MAX    65525
     44
     45#define FAT12   12
     46#define FAT16   16
     47#define FAT32   32
     48
     49#define FAT_SIZE(a) ((a==FAT12)? 1.5 : ( (a==FAT16)? 2 : 4  ) )
    4250
    4351typedef struct fat_bs {
Note: See TracChangeset for help on using the changeset viewer.