mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 03:52:56 +00:00
Update cheatsheets
This commit is contained in:
25
linux/mkfs.fat
Normal file
25
linux/mkfs.fat
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mkfs.fat
|
||||
|
||||
> Creates 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`):
|
||||
|
||||
`mkfs.fat {{/dev/sdb1}}`
|
||||
|
||||
- Create filesystem with a volume-name:
|
||||
|
||||
`mkfs.fat -n {{volume_name}} {{/dev/sdb1}}`
|
||||
|
||||
- Create filesystem with a volume-id:
|
||||
|
||||
`mkfs.fat -i {{volume_id}} {{/dev/sdb1}}`
|
||||
|
||||
- Use 5 instead of 2 file allocation tables:
|
||||
|
||||
`mkfs.fat -f 5 {{/dev/sdb1}}`
|
||||
Reference in New Issue
Block a user