mkapfs(8)

mkapfs8

Create an apfs filesystem

Usage

mkapfs [-sv] [-L label] [-U UUID] [-u UUID] [-F tier2] [-B tier2-blocks] device [blocks]

Overview

mkapfs is an experimental tool to create an APFS filesystem with a single volume on the given device. The number of blocks for the device can be specified in blocks, otherwise the whole disk is used.

Options

-s

Enable case sensitivity for the volume.

-z

Enable normalization sensitivity for the volume.

-L label

Set a label for the volume, with a maximum length of 255 bytes.

-U UUID

Specify a UUID for the container, in the standard format. By default the value is chosen by /proc/sys/kernel/random/uuid.

-u UUID

Specify a UUID for the volume, in the standard format. By default the value is chosen by /proc/sys/kernel/random/uuid.

-v

Print the version number of mkapfs and exit.

-F tier2

Specify the tier 2 device for a fusion drive.

-B tier2-blocks

Specify the size (in blocks) for the tier 2 device given by the -F option. By default the whole disk is used.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Reporting bugs

Please report bugs via email or, if preferred, file a github issue at https://github.com/eafer/apfsprogs/issues.

Author

Written by Ernesto A. Fernández <[email protected]>.

From apfsprogs 0.2.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.