blob: e3394688dbab509d4765654925a8797338118e29 [file] [log] [blame]
Matt Mower09ef1e42015-12-13 11:29:45 -06001.\" Copyright (C) 2011-2015 Andrew Nayenko
bigbiff bigbiff9c754052013-01-09 09:09:08 -05002.\"
3.TH MKEXFATFS 8 "January 2011"
4.SH NAME
5.B mkexfatfs
6\- create an exFAT file system
7.SH SYNOPSIS
8.B mkexfatfs
9[
10.B \-i
11.I volume-id
12]
13[
14.B \-n
15.I volume-name
16]
17[
18.B \-p
19.I partition-first-sector
20]
21[
22.B \-s
23.I sectors-per-cluster
24]
25[
bigbiff bigbiff004e2df2013-07-03 14:52:12 -040026.B \-V
bigbiff bigbiff9c754052013-01-09 09:09:08 -050027]
28.I device
29
30.SH DESCRIPTION
31.B mkexfatfs
32creates an exFAT file system on a block device.
33.I device
Matt Mower09ef1e42015-12-13 11:29:45 -060034is a special file corresponding to the partition on the device. Note that if
35this 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
37file system.
bigbiff bigbiff9c754052013-01-09 09:09:08 -050038
39.SH OPTIONS
40Command line options available:
41.TP
42.BI \-i " volume-id"
43A 32-bit hexadecimal number. By default a value based on current time is set.
44.TP
45.BI \-n " volume-name"
46Volume name (label), up to 15 characters. By default no label is set.
47.TP
48.BI \-p " partition-first-sector"
49First sector of the partition starting from the beginning of the whole disk.
50exFAT super block has a field for this value but in fact it's optional and
51does not affect anything. Default is 0.
52.TP
53.BI \-s " sectors-per-cluster"
54Number of physical sectors per cluster (cluster is an allocation unit in
55exFAT). Must be a power of 2, i.e. 1, 2, 4, 8, etc. Cluster size can not
56exceed 32 MB. Default cluster sizes are:
574 KB if volume size is less than 256 MB,
5832 KB if volume size is from 256 MB to 32 GB,
59128 KB if volume size is 32 GB or larger.
60.TP
bigbiff bigbiff004e2df2013-07-03 14:52:12 -040061.BI \-V
bigbiff bigbiff9c754052013-01-09 09:09:08 -050062Print version and copyright.
63
64.SH EXIT CODES
65Zero is returned on successful creation. Any other code means an error.
66
67.SH AUTHOR
68Andrew Nayenko
69
70.SH SEE ALSO
Matt Mower09ef1e42015-12-13 11:29:45 -060071.BR mkfs (8), fdisk (8)