Enter a command. For example: whatis, colrm, lxc network, debugfs.


Create a btrfs filesystem. Defaults to raid1, which specifies 2 copies of a given data block spread across 2 different devices. More information:
  • Create a btrfs filesystem on a single device:
    sudo mkfs.btrfs --metadata single --data single {{/dev/sda}}
  • Create a btrfs filesystem on multiple devices with raid1:
    sudo mkfs.btrfs --metadata raid1 --data raid1 {{/dev/sda}} {{/dev/sdb}} {{/dev/sdN}}
  • Set a label for the filesystem:
    sudo mkfs.btrfs --label "{{label}}" {{/dev/sda}} [{{/dev/sdN}}]

This is a tldr pages (source, CC BY 4.0) web wrapper for All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.