mirror of https://github.com/CrimsonTome/tldr.git
21 lines
449 B
Markdown
21 lines
449 B
Markdown
# findfs
|
|
|
|
> Finds a filesystem by label or UUID.
|
|
> More information: <https://mirrors.edge.kernel.org/pub/linux/utils/util-linux>.
|
|
|
|
- Search block devices by filesystem label:
|
|
|
|
`findfs LABEL={{label}}`
|
|
|
|
- Search by filesystem UUID:
|
|
|
|
`findfs UUID={{uuid}}`
|
|
|
|
- Search by partition label (GPT or MAC partition table):
|
|
|
|
`findfs PARTLABEL={{partition_label}}`
|
|
|
|
- Search by partition UUID (GPT partition table only):
|
|
|
|
`findfs PARTUUID={{partition_uuid}}`
|