mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 16:55:13 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
21
tldr/linux/mke2fs
Normal file
21
tldr/linux/mke2fs
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mke2fs
|
||||
|
||||
> Creates a Linux filesystem inside a partition.
|
||||
> More information: <https://manned.org/mke2fs>.
|
||||
|
||||
- Create an ext2 filesystem in partition 1 of device b (`sdb1`):
|
||||
|
||||
`mkfs.ext2 {{/dev/sdb1}}`
|
||||
|
||||
- Create an ext3 filesystem in partition 1 of device b (`sdb1`):
|
||||
|
||||
`mkfs.ext3 {{/dev/sdb1}}`
|
||||
|
||||
- Create an ext4 filesystem in partition 1 of device b (`sdb1`):
|
||||
|
||||
`mkfs.ext4 {{/dev/sdb1}}`
|
||||
Reference in New Issue
Block a user