mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 22:49:45 +00:00
Update cheatsheets
This commit is contained in:
17
linux/mkfs.ext4
Normal file
17
linux/mkfs.ext4
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mkfs.ext4
|
||||
|
||||
> Creates an ext4 filesystem inside a partition.
|
||||
> More information: <https://manned.org/mkfs.ext4>.
|
||||
|
||||
- Create an ext4 filesystem inside partition 1 on device b (`sdb1`):
|
||||
|
||||
`sudo mkfs.ext4 {{/dev/sdb1}}`
|
||||
|
||||
- Create an ext4 filesystem with a volume-label:
|
||||
|
||||
`sudo mkfs.ext4 -L {{volume_label}} {{/dev/sdb1}}`
|
||||
Reference in New Issue
Block a user