Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-25 00:17:11 +00:00
parent 40122edd15
commit 52b9debcc5
49 changed files with 94 additions and 59 deletions

17
tldr/linux/mkfs.bcachefs Normal file
View 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}}`