Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-18 00:18:56 +00:00
parent bc83e28459
commit 6895198b2b
2 changed files with 5 additions and 18 deletions

View File

@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
- Create filesystem with a volume-name:
`mkfs.exfat -n {{volume_name}} {{/dev/sdb1}}`
`mkfs.exfat {{[-L|--volume-label]}} {{volume_name}} {{/dev/sdXY}}`
- Create filesystem with a volume-id:
`mkfs.exfat -i {{volume_id}} {{/dev/sdb1}}`
`mkfs.exfat {{[-U|--volume-guid]}} {{volume_id}} {{/dev/sdXY}}`

View File

@@ -5,21 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# mkfs.vfat
> Create an MS-DOS filesystem inside a partition.
> More information: <https://manned.org/mkfs.vfat>.
> This command is an alias of `mkfs.fat`.
- Create a vfat filesystem inside partition 1 on device b (`sdb1`):
- View documentation for the original command:
`mkfs.vfat {{/dev/sdb1}}`
- Create filesystem with a volume-name:
`mkfs.vfat -n {{volume_name}} {{/dev/sdb1}}`
- Create filesystem with a volume-id:
`mkfs.vfat -i {{volume_id}} {{/dev/sdb1}}`
- Use 5 instead of 2 file allocation tables:
`mkfs.vfat -f 5 {{/dev/sdb1}}`
`tldr mkfs.fat`