1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/osx/diskutil.md
Lena b596b78b18
pages/*: standardize mentioning subcommands without the main command (#13626)
* pages/*: standardize mentioning subcommands without the main command

* CONTRIBUTING: clarify that pages should only mention the subcommand
2024-10-04 21:14:41 +02:00

21 lines
544 B
Markdown

# diskutil
> Utility to manage local disks and volumes.
> Some subcommands such as `partitiondisk` have their own usage documentation.
> More information: <https://keith.github.io/xcode-man-pages/diskutil.8.html>.
- List all currently available disks, partitions and mounted volumes:
`diskutil list`
- Repair the filesystem data structures of a volume:
`diskutil repairVolume {{/dev/disk_device}}`
- Unmount a volume:
`diskutil unmountDisk {{/dev/disk_device}}`
- Eject a CD/DVD (unmount first):
`diskutil eject {{/dev/disk_device1}}`