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

25 lines
578 B
Markdown
Raw Permalink 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 {{path/to/subvolume}}`
- 列出子卷:
`sudo btrfs subvolume list {{path/to/mount_point}}`
- 显示空间使用信息:
`sudo btrfs filesystem df {{path/to/mount_point}}`
- 启用配额:
`sudo btrfs quota enable {{path/to/subvolume}}`
- 显示配额:
`sudo btrfs qgroup show {{path/to/subvolume}}`