1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-01 08:55:32 +02:00
tldr/pages/linux/btrfs.md

26 lines
660 B
Markdown
Raw Normal View History

2019-10-09 05:53:34 +07:00
# 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>.
2019-10-09 05:53:34 +07:00
- Create subvolume:
2025-07-20 01:28:02 +03:00
`sudo btrfs {{[su|subvolume]}} {{[c|create]}} {{path/to/subvolume}}`
2019-10-09 05:53:34 +07:00
- List subvolumes:
2025-07-20 01:28:02 +03:00
`sudo btrfs {{[su|subvolume]}} {{[l|list]}} {{path/to/mount_point}}`
2019-10-09 05:53:34 +07:00
- Show space usage information:
2025-07-20 01:28:02 +03:00
`sudo btrfs {{[f|filesystem]}} df {{path/to/mount_point}}`
2019-10-09 05:53:34 +07:00
- Enable quota:
2025-07-20 01:28:02 +03:00
`sudo btrfs {{[qu|quota]}} {{[e|enable]}} {{path/to/subvolume}}`
2019-10-09 05:53:34 +07:00
- Show quota:
2025-07-20 01:28:02 +03:00
`sudo btrfs {{[qg|qgroup]}} {{[s|show]}} {{path/to/subvolume}}`