btrfs

A filesystem based on the copy-on-write (COW) principle for Linux. Some subcommands such as btrfs device have their own usage documentation. More information: <https://btrfs.readthedocs.io/en/latest/btrfs.html>.

Install

All systems
curl cmd.cat/btrfs.sh
Debian Debian
apt-get install btrfs-progs
Ubuntu
apt-get install btrfs-progs
Alpine
apk add btrfs-progs
Arch Arch Linux
pacman -S btrfs-progs
image/svg+xml Kali Linux
apt-get install btrfs-progs
CentOS
yum install btrfs-progs
Fedora
dnf install btrfs-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install btrfs-progs
Raspbian
apt-get install btrfs-progs
Docker
docker run cmd.cat/btrfs btrfs powered by Commando

A filesystem based on the copy-on-write (COW) principle for Linux. Some subcommands such as btrfs device have their own usage documentation. More information: <https://btrfs.readthedocs.io/en/latest/btrfs.html>.

  • Create subvolume:
    sudo btrfs subvolume create path/to/subvolume
  • List subvolumes:
    sudo btrfs subvolume list path/to/mount_point
  • Show space usage information:
    sudo btrfs filesystem df path/to/mount_point
  • Enable quota:
    sudo btrfs quota enable path/to/subvolume
  • Show quota:
    sudo btrfs qgroup show path/to/subvolume

© tl;dr; authors and contributors