btrfs: add page (#3347)

This commit is contained in:
Ghani Rafif
2019-10-09 05:53:34 +07:00
committed by Starbeamrainbowlabs
parent c1e257fd44
commit 8edd7e9b1f

23
pages/linux/btrfs.md Normal file
View File

@@ -0,0 +1,23 @@
# 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}}`