mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 15:35:25 +02:00

Co-authored-by: pixie <pixel+github@chrissx.de> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
13 lines
421 B
Markdown
13 lines
421 B
Markdown
# mkfs.bcachefs
|
|
|
|
> Create a `bcachefs` filesystem inside a partition.
|
|
> See also: `bcachefs`.
|
|
> More information: <https://bcachefs-docs.readthedocs.io/en/latest/mgmt-formatting.html>.
|
|
|
|
- Create a `bcachefs` filesystem inside partition `Y` on a device `X`:
|
|
|
|
`sudo mkfs.bcachefs {{/dev/sdXY}}`
|
|
|
|
- Create a `bcachefs` filesystem with a volume label:
|
|
|
|
`sudo mkfs.bcachefs {{[-L|--fs_label]}} {{volume_label}} {{/dev/sdXY}}`
|