mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 07:46:49 +00:00
Update cheatsheets
This commit is contained in:
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a RAID 0 filesystem where an SSD acts as a cache and an HDD acts as a long-term storage:
|
||||
|
||||
`sudo bcachefs format {{[-l|--label]}} {{ssd.ssd1}} {{path/to/ssd/partition}} {{[-l|--label]}} {{hdd.hdd1}} {{path/to/hdd/partition}} --replicas 1 --foreground_target {{ssd}} --promote_target {{ssd}} --background_target {{hdd}}`
|
||||
`sudo bcachefs format {{[-l|--label]}} {{ssd.ssd1}} {{path/to/ssd_partition}} {{[-l|--label]}} {{hdd.hdd1}} {{path/to/hdd_partition}} --replicas 1 --foreground_target {{ssd}} --promote_target {{ssd}} --background_target {{hdd}}`
|
||||
|
||||
- Mount a multidevice filesystem:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Format and add a new device to an existing filesystem.:
|
||||
|
||||
`sudo bcachefs device add --label={{group}}.{{name}} {{path/to/mountpoint}} {{path/to/device}}`
|
||||
`sudo bcachefs device add --label {{group}}.{{name}} {{path/to/mountpoint}} {{path/to/device}}`
|
||||
|
||||
- Migrate data off a device to prepare for removal:
|
||||
|
||||
|
||||
@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List users of a specific group:
|
||||
|
||||
`sudo lid --group {{name}}`
|
||||
`sudo lid --group {{group_name}}`
|
||||
|
||||
Reference in New Issue
Block a user