mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
24 lines
439 B
Markdown
24 lines
439 B
Markdown
|
# btrfs
|
||
|
|
||
|
> A filesystem based on the copy-on-write (COW) principle for Linux.
|
||
|
|
||
|
- 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}}`
|