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

Changeset 00af658 in mainline


Ignore:
Timestamp:
2012-02-26T19:45:02Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
aa37d6f
Parents:
ef144ef
Message:

mkexfat: let the user specify the cluster size in Kb, not in bytes.

File:
1 edited

Legend:

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

    ref144ef r00af658  
    132132{
    133133        printf("Usage: mkexfat [options] <device>\n"
    134             "-c, --cluster-size ## Specify the cluster size\n"
    135             "-s, --fs-size ##      Specify the filesystem size\n");
     134            "-c, --cluster-size ## Specify the cluster size (Kb)\n"
     135            "-s, --fs-size ##      Specify the filesystem size (byte)\n");
    136136}
    137137
     
    739739
    740740                case 'c':
    741                         cfg.cluster_size = strtol(optarg, NULL, 10);
     741                        cfg.cluster_size = strtol(optarg, NULL, 10) * 1024;
    742742                        if (cfg.cluster_size < 4096) {
    743743                                printf(NAME ": Error, cluster size can't"
Note: See TracChangeset for help on using the changeset viewer.