1 .\" Copyright (C) 2011-2016 Andrew Nayenko
3 .TH MKEXFATFS 8 "January 2011"
6 \- create an exFAT file system
19 .I partition-first-sector
23 .I sectors-per-cluster
32 creates an exFAT file system on a block device.
34 is a special file corresponding to the partition on the device. Note that if
35 this is an MBR partition then the file system type should be set to 0x07
36 (NTFS/exFAT) otherwise other operating systems may refuse to mount the
40 Command line options available:
43 A 32-bit hexadecimal number. By default a value based on current time is set.
45 .BI \-n " volume-name"
46 Volume name (label), up to 15 characters. By default no label is set.
48 .BI \-p " partition-first-sector"
49 First sector of the partition starting from the beginning of the whole disk.
50 exFAT super block has a field for this value but in fact it's optional and
51 does not affect anything. Default is 0.
53 .BI \-s " sectors-per-cluster"
54 Number of physical sectors per cluster (cluster is an allocation unit in
55 exFAT). Must be a power of 2, i.e. 1, 2, 4, 8, etc. Cluster size can not
56 exceed 32 MB. Default cluster sizes are:
57 4 KB if volume size is less than 256 MB,
58 32 KB if volume size is from 256 MB to 32 GB,
59 128 KB if volume size is 32 GB or larger.
62 Print version and copyright.
65 Zero is returned on successful creation. Any other code means an error.
71 .BR mkfs (8), fdisk (8)