FINDFS(8) - Linux man page online | Administration and privileged commands
Find a filesystem by label or UUID.
Chapter
March 2014
FINDFS(8) System Administration FINDFS(8)
@mit.edu⟩ and re-written for the
util-linux package by Karel Zak ⟨
@redhat.com⟩.
util-linux March 2014 FINDFS(8)
NAME
findfs - find a filesystem by label or UUIDSYNOPSIS
findfs NAME=valueDESCRIPTION
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> blkidEXIT STATUS
0 success 1 label or uuid cannot be found 2 usage error, wrong number of arguments or unknown optionAUTHOR
findfs was originally written by Theodore Ts'o ⟨

ENVIRONMENT
LIBBLKID_DEBUG=all enables libblkid debug output.SEE ALSO
blkid(8), lsblk(8), partx(8)AVAILABILITY
The findfs command is part of the util-linux package and is available from Linux Kernel Archive ⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩.This manual | Reference | Other manuals |
---|---|---|
findfs(8) | referred by | blkid(8) | libblkid(3) | open_by_handle_at(2) | wipefs(8) |
refer to | blkid(8) | lsblk(8) | partx(8) |