November 2017
Intermediate to advanced
1232 pages
36h 16m
English
The action specifies what diskutil is to do. Table VI-15 lists common actions along with the argument each takes.
Table VI-15 diskutil actions
| Action | Argument | Description |
eraseVolume |
type name device |
Reformats device using the format type and the label name. The name specifies the name of the volume; alphanumeric names are the easiest to work with. |
|
|
The filesystem type is typically HFS+ but can also be UFS or MS-DOS. You can specify additional options as part of the type. For example, a FAT32 filesystem (as used in Windows 98 and above) would have a type of MS-DOS FAT32. A journaled, case-sensitive, HFS+ filesystem would have a type of Case-sensitive Journaled HFS+. |
info |
device |
Displays information about device. Does not ... |
Read now
Unlock full access