NAME
findfs - find a filesystem by label or UUID
SYNOPSIS
findfsNAME=value
DESCRIPTION
findfs will search the block devices in the system looking for a filesystem or partition with specified tag. The currently supported tags are:
LABEL=<label>
UUID=<uuid>
PARTUUID=<uuid>
PARTLABEL=<label>
If the filesystem or partition is found, the device name will be printed on stdout. If the input is not in the format of NAME=value, then the input will be copied to the output without any modification.
The complete overview about filesystems and partitions you can get for example by
lsblk --fs
partx --show <disk>
blkid
-h, --help
-V, --version
EXIT STATUS
0
1
2
ENVIRONMENT
LIBBLKID_DEBUG=all
AUTHORS
findfs was originally written by Theodore Ts’o <[email protected]> and re-written for the util-linux package by Karel Zak <[email protected]>.
SEE ALSO
blkid(8), lsblk(8), partx(8)
REPORTING BUGS
For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.
AVAILABILITY
The findfs command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.