tldr/pages/linux/findfs.md
2020-02-13 02:23:48 +01:00

449 B

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