Changes in uspace/app/mkexfat/mkexfat.c [7c3fb9b:18b6a88] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkexfat/mkexfat.c
r7c3fb9b r18b6a88 158 158 cfg->cluster_size = DEFAULT_CLUSTER_SIZE; 159 159 160 /* 161 * Compute the required cluster size to index 160 /* Compute the required cluster size to index 162 161 * the entire storage device and to keep the FAT 163 162 * size less or equal to 64 Mb. … … 180 179 cfg->fat_sector_count, cfg->cluster_size / cfg->sector_size); 181 180 182 /* 183 * Subtract the FAT space from the total 181 /* Subtract the FAT space from the total 184 182 * number of available clusters. 185 183 */ … … 371 369 } 372 370 373 /* 374 * The OEM record is not yet used 371 /* The OEM record is not yet used 375 372 * by the official exFAT implementation, we'll fill 376 373 * it with zeroes. … … 470 467 471 468 if (cur_cls == fat_entries) { 472 /* 473 * This sector is full, there are no more free entries, 469 /* This sector is full, there are no more free entries, 474 470 * commit the changes to disk and restart from the next 475 471 * sector. … … 481 477 goto loop; 482 478 } else if (ncls == 1) { 483 /* 484 * This is the last cluster of this chain, mark it 479 /* This is the last cluster of this chain, mark it 485 480 * with EOF. 486 481 */ … … 576 571 577 572 if (table_size < cfg->sector_size) { 578 /* 579 * Reset the content of the unused part 573 /* Reset the content of the unused part 580 574 * of the last sector. 581 575 */ … … 662 656 goto exit; 663 657 664 /* 665 * Fill the content of the sectors not used by the 658 /* Fill the content of the sectors not used by the 666 659 * root directory with zeroes. 667 660 */
Note:
See TracChangeset
for help on using the changeset viewer.