You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
542 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

findfs
===
标签或UUID查找文件系统
## 说明
**findfs命令** 依据卷标Label和UUID查找文件系统所对应的设备文件。findfs命令会搜索整个磁盘看是否有匹配的标签或者UUID没有如果有则打印到标注输出上。findfs命令也是e2fsprogs项目的一部分
## 选项
```
findfs(参数)
```
### 参数
`LABEL=<卷标>`或者`UUID=<UUID>`按照卷标或者UUID查询文件系统
## 实例
通过卷标名查找对应的文件系统:
```
findfs LABEL=/boot
/dev/hda1
```