findfs

Finds a filesystem by label or UUID. More information: <https://mirrors.edge.kernel.org/pub/linux/utils/util-linux>.

Install

All systems
curl cmd.cat/findfs.sh
Debian Debian
apt-get install util-linux
Ubuntu
apt-get install util-linux
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install util-linux
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install util-linux
OS X
brew install util-linux
Raspbian
apt-get install util-linux
Docker
docker run cmd.cat/findfs findfs powered by Commando

Finds a filesystem by label or UUID. More information: <https://mirrors.edge.kernel.org/pub/linux/utils/util-linux>.

  • 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

© tl;dr; authors and contributors