mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 19:02:44 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Add one or more devices to a btrfs filesystem:
|
||||
|
||||
`sudo btrfs device add {{path/to/block_device1}} [{{path/to/block_device2}}] {{path/to/btrfs_filesystem}}`
|
||||
`sudo btrfs device add {{path/to/block_device1 path/to/block_device2 ...}} {{path/to/btrfs_filesystem}}`
|
||||
|
||||
- Remove a device from a btrfs filesystem:
|
||||
|
||||
`sudo btrfs device remove {{path/to/device|device_id}} [{{...}}]`
|
||||
`sudo btrfs device remove {{path/to/device1|device_id1 path/to/device2|device_id2 ...}}`
|
||||
|
||||
- Display error statistics:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Scan all disks and inform the kernel of all detected btrfs filesystems:
|
||||
|
||||
`sudo btrfs device scan --all-devices`
|
||||
`sudo btrfs device scan {{[-d|--all-devices]}}`
|
||||
|
||||
- Display detailed per-disk allocation statistics:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user