mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 12:52:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user