mkfs.bcachefs Command Examples

Create a bcachefs filesystem inside a partition. More information: https://bcachefs-docs.readthedocs.io/en/latest/mgmt-formatting.html.

sudo mkfs.bcachefs {{/dev/sdX1}}

sudo mkfs.bcachefs {{-L|--fs_label}} {{volume_label}} {{/dev/sdX1}}