mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 22:52:19 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set the max number of counts before a filesystem is checked to 2:
|
||||
|
||||
`tune2fs -c {{2}} {{/dev/sdXN}}`
|
||||
`tune2fs -c 2 {{/dev/sdXN}}`
|
||||
|
||||
- Set the filesystem label to MY_LABEL:
|
||||
|
||||
`tune2fs -L {{'MY_LABEL'}} {{/dev/sdXN}}`
|
||||
`tune2fs -L 'MY_LABEL' {{/dev/sdXN}}`
|
||||
|
||||
- Enable discard and user-specified extended attributes for a filesystem:
|
||||
|
||||
@@ -23,4 +23,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Enable journaling for a filesystem:
|
||||
|
||||
`tune2fs -o^{{nobarrier}} {{/dev/sdXN}}`
|
||||
`tune2fs -o ^{{nobarrier}} {{/dev/sdXN}}`
|
||||
|
||||
Reference in New Issue
Block a user