Update cheatsheets

This commit is contained in:
ivuorinen
2024-08-21 00:15:19 +00:00
parent af7ff63147
commit bef5f39123
2 changed files with 9 additions and 1 deletions

View File

@@ -28,6 +28,14 @@ source: https://github.com/tldr-pages/tldr.git
`bcachefs fs usage --human-readable {{path/to/mountpoint}}`
- Set replicas after formatting and mounting:
`sudo bcachefs set-fs-option --metadata_replicas={{2}} --data_replicas={{2}} {{path/to/partition}}`
- Force `bcachefs` to ensure all files are replicated:
`sudo bcachefs data rereplicate {{path/to/mountpoint}}`
- Display help:
`bcachefs`

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Mount a share and retry up to 10 times if it fails:
`mount -o retry={{retries}} \{{computer_name}}\{{share_name}} {{Z:}}`
`mount -o retry=10 \{{computer_name}}\{{share_name}} {{Z:}}`
- Mount a share with forced case sensitivity: