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

28 lines
453 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.

# findmnt
> 查找你的文件系统。
> 更多信息:<https://manned.org/findmnt>。
- 列出所有已挂载的文件系统:
`findmnt`
- 搜索设备:
`findmnt {{/dev/sdb1}}`
- 搜索挂载点:
`findmnt {{/}}`
- 查找特定类型的文件系统:
`findmnt -t {{ext4}}`
- 查找具有特定标签的文件系统:
`findmnt LABEL={{BigStorage}}`
- 详细检查挂载表内容并验证 `/etc/fstab`
`findmnt --verify --verbose`