tldr/pages/linux/findfs.md

21 lines
449 B
Markdown
Raw Normal View History

2020-02-13 01:23:48 +00:00
# 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}}`