findfs

Tag or UUID lookup file system

Supplementary instructions

findfs command searches for the device file corresponding to the file system based on the volume label (Label) and UUID. The findfs command will search the entire disk to see if there is a matching label or UUID, and if so, print it to the label output. The findfs command is also part of the e2fsprogs project.

grammar

findfs(parameter)

Parameters

LABEL=<volume label> or UUID=<UUID>: Query the file system according to the volume label or UUID.

Example

Find the corresponding file system by volume name:

findfs LABEL=/boot
/dev/hda1