apfs.util(8) BSD System Manager's Manual apfs.util(8)
apfs.util -- APFS file system utility
apfs.util -p device removable writable apfs.util -k device apfs.util -s device
The apfs.util command supports the probing of apfs volumes, getting a volume UUID and setting container and volume UUIDs. Options: -p device removable writable Probe the device to determine whether it contains an apfs volume. The removable and writable arguments are ignored for compatibil- ity with other file system utilities. -k Return the UUID of the apfs volume on device. -s Set UUIDs for the container and the volume(s) on the device to new random values.
The apfs.util utility first appeared in OS X 10.12. Mac OS X June 1, 2015 Mac OS X
Mac OS X 10.12.3 - Generated Fri Feb 10 06:34:42 CST 2017