OSDN Git Service

Add mkexfatfs man page.
[android-x86/external-exfat.git] / mkfs / mkexfatfs.8
1 .\" Copyright (C) 2011  Andrew Nayenko
2 .\"
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 \-s
19 .I sectors-per-cluster
20 ]
21 .I device
22
23 .SH DESCRIPTION
24 .B mkexfatfs
25 creates an exFAT file system on a block device.
26 .I device
27 is a special file corresponding to the device.
28
29 .SH OPTIONS
30 Command line options available:
31 .TP
32 .BI \-i " volume-id"
33 A 32-bit hexadecimal number. By default a value based on current time is set.
34 .TP
35 .BI \-n " volume-name"
36 Volume name (label), up to 15 characters. By default no label is set.
37 .TP
38 .BI \-s " sectors-per-cluster"
39 Number of physical sectors per cluster (cluster is an allocation unit in
40 exFAT). Must be a power of 2, i.e. 1, 2, 4, 8, etc. Cluster size can not
41 exceed 32 MB. Default cluster sizes are:
42 4 KB if volume size is less than 256 MB,
43 32 KB if volume size is from 256 MB to 32 GB,
44 128 KB if volume size is 32 GB or larger.
45
46 .SH EXIT CODES
47 Zero is returned on successful creation. Any other code means an error.
48
49 .SH AUTHOR
50 Andrew Nayenko
51
52 .SH SEE ALSO
53 .BR mkfs (8)