mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 06:50:32 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/mkfs.bcachefs
Normal file
17
tldr/linux/mkfs.bcachefs
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mkfs.bcachefs
|
||||
|
||||
> Create a `bcachefs` filesystem inside a partition.
|
||||
> More information: <https://bcachefs-docs.readthedocs.io/en/latest/mgmt-formatting.html>.
|
||||
|
||||
- Create a `bcachefs` filesystem inside partition 1 on a device (`X`):
|
||||
|
||||
`sudo mkfs.bcachefs {{/dev/sdX1}}`
|
||||
|
||||
- Create a `bcachefs` filesystem with a volume label:
|
||||
|
||||
`sudo mkfs.bcachefs {{-L|--fs_label}} {{volume_label}} {{/dev/sdX1}}`
|
||||
Reference in New Issue
Block a user