Skip to content

Commit 728daeb

Browse files
Managorfazlearefin
andauthored
mkfs.btrfs: add simplified example (#17554)
Co-authored-by: Fazle Arefin <[email protected]>
1 parent b8ee598 commit 728daeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pages/linux/mkfs.btrfs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
> Defaults to `raid1`, which specifies 2 copies of a data block spread across 2 different devices.
55
> More information: <https://btrfs.readthedocs.io/en/latest/mkfs.btrfs.html>.
66
7+
- Create a Btrfs filesystem on an empty partition:
8+
9+
`sudo mkfs.btrfs {{/dev/sdXY}}`
10+
711
- Create a btrfs filesystem on a single device:
812

913
`sudo mkfs.btrfs {{[-m|--metadata]}} single {{[-d|--data]}} single {{/dev/sdX}}`

0 commit comments

Comments
 (0)