Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-19 00:20:25 +00:00
parent 1ecb3009a8
commit 71df8c1728
3 changed files with 3 additions and 3 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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}}`