1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/linux/findfs.md
2020-02-13 02:23:48 +01:00

20 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}}`