If -plist is specified, then a property list will be emitted instead of the normal user-readable output.Ī script could interpret the results of diskutil list -plist and use diskutil info -plist as well as diskutil listFilesystems -plist for more detailed information. disk0s3, but filtering is only done at the whole disk level (disk0s3 is a synonym for disk0 in this case). When limiting by a disk, you can specify either a whole disk, e.g. You can limit the number of disks shown by specifying filtering arguments such as internal above, and/or a device disk. If no argument is given, then all whole disks and their partitions are listed. List disks, including internal and external disks, whole disks and partitions, and various kinds of virtual or offline disks. VerbsĮach command verb is listed with its description and individual arguments. You should back up your data before using any of these commands. Most commands do not present confirmation prompts. Many diskutil commands, if improperly used, can result in data loss. It generally manipulates whole volumes instead of individual files and directories. This includes hard disks, solid state disks, optical discs, disk images, APFS volumes, CoreStorage volumes, and AppleRAID sets. It provides information about, and allows the administration of, partitioning schemes, layouts, and formats of disks. Diskutil - modify, verify and repair local disks Synopsisĭiskutil verb Descriptionĭiskutil manipulates the structure of local disks.
0 Comments
Leave a Reply. |