1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:33:46 +02:00

mkfs.bcachefs: add page (#13802)

This commit is contained in:
Managor 2024-09-24 08:28:03 +03:00 committed by GitHub
parent f0e69de0fc
commit 28cc4231b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,12 @@
# 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}}`