mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-05 12:00:16 +00:00
diskutil
This commit is contained in:
parent
269bcf2b12
commit
9b58446f59
@ -1,18 +1,14 @@
|
||||
# diskutil
|
||||
# Utility to manage local disks and volumes (Mac OS X)
|
||||
|
||||
diskutil
|
||||
# List all currently available disks, partitions and mounted volumes:
|
||||
diskutil list
|
||||
|
||||
Utility to manage local disks and volumes.
|
||||
|
||||
- List all currently available disks, partitions and mounted volumes:
|
||||
diskutil list
|
||||
|
||||
- Repair the file system data structures of a volume:
|
||||
diskutil repairVolume /dev/diskX
|
||||
|
||||
- Unmount a volume:
|
||||
diskutil unmountDisk /dev/diskX
|
||||
|
||||
- Eject a CD/DVD (unmount first):
|
||||
diskutil eject /dev/disk1
|
||||
# Repair the file system data structures of a volume:
|
||||
diskutil repairVolume /dev/diskX
|
||||
|
||||
# Unmount a volume:
|
||||
diskutil unmountDisk /dev/diskX
|
||||
|
||||
# Eject a CD/DVD (unmount first):
|
||||
diskutil eject /dev/disk1
|
||||
|
Loading…
Reference in New Issue
Block a user