1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:39:46 +01:00
tldr/pages/linux/mke2fs.md
Lena c9775847b6
pages/*: use the imperative in descriptions (#12574)
* pages/*: use the imperative in descriptions

* go-fmt: put the description on one line
2024-04-18 09:34:00 +05:30

386 B

mke2fs

Create 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}}