Files
tldr/pages.zh/linux/btrfs.md

26 lines
624 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# btrfs
> 一种基于写时复制COW原理的 Linux 文件系统。
> 此命令也有关于其子命令的文件,例如:`device`.
> 更多信息:<https://btrfs.readthedocs.io/en/latest/btrfs.html>.
- 创建子卷:
`sudo btrfs subvolume create {{指向子卷的路径}}`
- 列出子卷:
`sudo btrfs subvolume list {{指向挂载点的路径}}`
- 显示空间使用情况信息:
`sudo btrfs filesystem df {{指向挂载点的路径}}`
- 启用配额quota
`sudo btrfs quota enable {{指向子卷的路径}}`
- 显示配额quota
`sudo btrfs qgroup show {{指向子卷的路径}}`