mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-14 05:35:40 +02:00
mkfs.btrfs: add simplified example (#17554)
Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
parent
b8ee598969
commit
728daeb689
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
|||
> Defaults to `raid1`, which specifies 2 copies of a data block spread across 2 different devices.
|
||||
> More information: <https://btrfs.readthedocs.io/en/latest/mkfs.btrfs.html>.
|
||||
|
||||
- Create a Btrfs filesystem on an empty partition:
|
||||
|
||||
`sudo mkfs.btrfs {{/dev/sdXY}}`
|
||||
|
||||
- Create a btrfs filesystem on a single device:
|
||||
|
||||
`sudo mkfs.btrfs {{[-m|--metadata]}} single {{[-d|--data]}} single {{/dev/sdX}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue