Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-19 00:18:18 +00:00
parent 6895198b2b
commit 846fc1563d
14 changed files with 84 additions and 37 deletions

View File

@@ -8,18 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
> Create an MS-DOS filesystem inside a partition.
> More information: <https://manned.org/mkfs.fat>.
- Create a fat filesystem inside partition 1 on device b (`sdb1`):
- Create a fat filesystem inside partition `Y` on device `X`:
`mkfs.fat {{/dev/sdb1}}`
`mkfs.fat {{/dev/sdXY}}`
- Create filesystem with a volume-name:
`mkfs.fat -n {{volume_name}} {{/dev/sdb1}}`
`mkfs.fat -n {{volume_name}} {{/dev/sdXY}}`
- Create filesystem with a volume-id:
`mkfs.fat -i {{volume_id}} {{/dev/sdb1}}`
`mkfs.fat -i {{volume_id}} {{/dev/sdXY}}`
- Use 5 instead of 2 file allocation tables:
`mkfs.fat -f 5 {{/dev/sdb1}}`
`mkfs.fat -f 5 {{/dev/sdXY}}`