sh-3.2$ date ; sw_vers
Thu 15 Sep 2016 03:05:55 BST
ProductName: Mac OS X
ProductVersion: 10.12
BuildVersion: 16A319
sh-3.2$ diskutil listfilesystems
Formattable file systems
These file system personalities can be used for erasing and partitioning.
When specifying a personality as a parameter to a verb, case is not considered.
Certain common aliases (also case-insensitive) are listed below as well.
-------------------------------------------------------------------------------
PERSONALITY USER VISIBLE NAME
-------------------------------------------------------------------------------
APFS APFS
ExFAT ExFAT
Free Space Free Space
(or) free
MS-DOS MS-DOS (FAT)
MS-DOS FAT12 MS-DOS (FAT12)
MS-DOS FAT16 MS-DOS (FAT16)
MS-DOS FAT32 MS-DOS (FAT32)
(or) fat32
HFS+ Mac OS Extended
Case-sensitive HFS+ Mac OS Extended (Case-sensitive)
(or) hfsx
Case-sensitive Journaled HFS+ Mac OS Extended (Case-sensitive, Journaled)
(or) jhfsx
Journaled HFS+ Mac OS Extended (Journaled)
(or) jhfs+
sh-3.2$ diskutil apfs
Usage: diskutil [quiet] ap[fs] <verb> <options>
where <verb> is as follows:
list (Show status of all current APFS Containers)
create (Create a new APFS Container with one APFS Volume)
createContainer (Create a new empty APFS Container)
deleteContainer (Delete an APFS Container and reformat old disks to HFS)
resizeContainer (Resize an APFS Container and its disk space usage)
addVolume (Export a new APFS Volume from an APFS Container)
eraseVolume (Erase contents of, but keep, an APFS Volume)
deleteVolume (Remove an APFS Volume from its APFS Container)
diskutil apfs <verb> with no options will provide help on that verb
sh-3.2$ diskutil apfs list
WARNING: You are using a pre-release version of the Apple File System called
APFS which is meant for evaluation and development purposes only.
Files stored on APFS volumes may not be accessible in future releases
of macOS. You should back up all of your data before using APFS and
regularly back up data while using APFS, including before upgrading
to future releases of macOS.
You can pass the "-IHaveBeenWarnedThatAPFSIsPreReleaseAndThatIMayLoseData"
option between the "APFS" verb and the APFS sub-verb to bypass this message.
Proceed? (y/N) y
No APFS Containers
sh-3.2$