1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages/linux/btrfs.md
2021-09-13 10:21:21 +02:00

25 lines
594 B
Markdown

# 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.wiki.kernel.org/index.php/Manpage/btrfs>.
- 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}}`