mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 16:59:26 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,19 +14,23 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show detailed information about a device:
|
||||
|
||||
`udisksctl info --block-device {{/dev/sdX}}`
|
||||
`udisksctl info {{[-b|--block-device]}} {{/dev/sdX}}`
|
||||
|
||||
- Show detailed information about a device partition:
|
||||
|
||||
`udisksctl info --block-device {{/dev/sdXN}}`
|
||||
`udisksctl info {{[-b|--block-device]}} {{/dev/sdXN}}`
|
||||
|
||||
- Mount a device partition and prints the mount point:
|
||||
|
||||
`udisksctl mount --block-device {{/dev/sdXN}}`
|
||||
`udisksctl mount {{[-b|--block-device]}} {{/dev/sdXN}}`
|
||||
|
||||
- Unmount a device partition:
|
||||
|
||||
`udisksctl unmount --block-device {{/dev/sdXN}}`
|
||||
`udisksctl unmount {{[-b|--block-device]}} {{/dev/sdXN}}`
|
||||
|
||||
- Power off a device to safely remove it:
|
||||
|
||||
`udisksctl power-off {{[-b|--block-device]}} {{/dev/sdX}}`
|
||||
|
||||
- Monitor the daemon for events:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user