1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 15:15:29 +02:00
tldr/pages/linux/mkfs.bcachefs.md
Managor 5c3e141eb2
mkfs*: unify format (#16188)
Co-authored-by: pixie <pixel+github@chrissx.de>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-04-19 00:06:58 +03:00

421 B

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