1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:42:07 +02:00
tldr/pages/linux/btrfs.md
Lena b596b78b18
pages/*: standardize mentioning subcommands without the main command (#13626)
* pages/*: standardize mentioning subcommands without the main command

* CONTRIBUTING: clarify that pages should only mention the subcommand
2024-10-04 21:14:41 +02:00

584 B

btrfs

A filesystem based on the copy-on-write (COW) principle for Linux. Some subcommands such as 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}}