DOKK / manpages / debian 10 / util-linux / findfs.8.en
FINDFS(8) System Administration FINDFS(8)

findfs - find a filesystem by label or UUID

findfs NAME=value

findfs will search the block devices in the system looking for a filesystem or partition with specified tag. The currently supported tags are:

Specifies filesystem label.
Specifies filesystem UUID.
Specifies partition UUID. This partition identifier is supported for example for GUID Partition Table (GPT) partition tables.
Specifies partition label (name). The partition labels are supported for example for GUID Partition Table (GPT) or MAC partition tables.

If the filesystem or partition is found, the device name will be printed on stdout.

The complete overview about filesystems and partitions you can get for example by

lsblk --fs

partx --show <disk>

blkid

0
success
1
label or uuid cannot be found
2
usage error, wrong number of arguments or unknown option

findfs was originally written by Theodore Ts'o and re-written for the util-linux package by Karel Zak.

enables libblkid debug output.

blkid(8), lsblk(8), partx(8)

The findfs command is part of the util-linux package and is available from Linux Kernel Archive.

March 2014 util-linux