# FINDFS - find a filesystem by label or UUID - man - [phpMan]

> **TLDR:** Finds a filesystem by label or UUID.
>
- 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}}`

*Source: tldr-pages*

---

[_FINDFS_(8)](https://www.chedong.com/phpMan.php/man/FINDFS/8/markdown)                               System Administration                              [_FINDFS_(8)](https://www.chedong.com/phpMan.php/man/FINDFS/8/markdown)

## NAME
       findfs - find a filesystem by label or UUID

## SYNOPSIS
       **findfs NAME**=_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>_
           Specifies filesystem label.

       **UUID**=_<uuid>_
           Specifies filesystem UUID.

       **PARTUUID**=_<uuid>_
           Specifies partition UUID. This partition identifier is supported for example for GUID
           Partition Table (GPT) partition tables.

       **PARTLABEL**=_<label>_
           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**

### -h --help
           Display help text and exit.

### -V --version
           Print version and exit.

## EXIT STATUS
       **0**
           success

       **1**
           label or uuid cannot be found

       **2**
           usage error, wrong number of arguments or unknown option

## ENVIRONMENT
       LIBBLKID_DEBUG=all
           enables libblkid debug output.

## AUTHORS
       **findfs **was originally written by Theodore Ts’o <<tytso@mit.edu>> and re-written for the
       util-linux package by Karel Zak <<kzak@redhat.com>>.

## SEE ALSO
       [**blkid**(8)](https://www.chedong.com/phpMan.php/man/blkid/8/markdown), [**lsblk**(8)](https://www.chedong.com/phpMan.php/man/lsblk/8/markdown), [**partx**(8)](https://www.chedong.com/phpMan.php/man/partx/8/markdown)

## REPORTING BUGS
       For bug reports, use the issue tracker at <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/>>.

util-linux 2.39.3                            2023-10-23                                    [_FINDFS_(8)](https://www.chedong.com/phpMan.php/man/FINDFS/8/markdown)
