Files
cheatsheet-tldr/tldr/linux/findfs

26 lines
541 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`