mkexfatfs(8)

mkexfatfs8

Create an exfat file system

Usage

mkexfatfs [-i volume-id] [-n volume-name] [-p partition-first-sector] [-s sectors-per-cluster] [-V] device

Overview

mkexfatfs creates an exFAT file system on a block device. device is a special file corresponding to the partition on the device. Note that if this is an MBR partition then the file system type should be set to 0x07 (NTFS/exFAT) otherwise other operating systems may refuse to mount the file system.

Options

Command line options available:

-i volume-id

A 32-bit hexadecimal number. By default a value based on current time is set.

-n volume-name

Volume name (label), up to 15 characters. By default no label is set.

-p partition-first-sector

First sector of the partition starting from the beginning of the whole disk. exFAT super block has a field for this value but in fact it's optional and does not affect anything. Default is 0.

-s sectors-per-cluster

Number of physical sectors per cluster (cluster is an allocation unit in exFAT). Must be a power of 2, i.e. 1, 2, 4, 8, etc. Cluster size can not exceed 32 MB. Default cluster sizes are: 4 KB if volume size is less than 256 MB, 32 KB if volume size is from 256 MB to 32 GB, 128 KB if volume size is 32 GB or larger.

-V

Print version and copyright.

Exit status

Zero is returned on successful creation. Any other code means an error.

Releases

6 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. Arch

-V since Debian 8 (Jessie).

-v until Debian 7 (Wheezy).

Author

Andrew Nayenko

From exfat-utils 1.4.0-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.