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