DOKK / manpages / debian 12 / apfsprogs / mkapfs.8.en
mkapfs(8) System Manager's Manual mkapfs(8)

mkapfs - create an APFS filesystem

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

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

Enable case sensitivity for the volume.
Enable normalization sensitivity for the volume.
Set a label for the volume, with a maximum length of 255 bytes.
Specify a UUID for the container, in the standard format. By default the value is chosen by /proc/sys/kernel/random/uuid.
Specify a UUID for the volume, in the standard format. By default the value is chosen by /proc/sys/kernel/random/uuid.
Print the version number of mkapfs and exit.

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

Written by Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com>.

apfsck(8)

May 2019 apfsprogs 0.1