{
    "content": [
        {
            "type": "text",
            "text": "# findfs (man)\n\n## NAME\n\nfindfs - find a filesystem by label or UUID\n\n## SYNOPSIS\n\nfindfs NAME=value\n\n## DESCRIPTION\n\nfindfs will search the block devices in the system looking for a filesystem or partition with\nspecified tag. The currently supported tags are:\n\n## TLDR\n\n> Finds a filesystem by label or UUID.\n\n- Search block devices by filesystem label:\n  `findfs LABEL={{label}}`\n- Search by filesystem UUID:\n  `findfs UUID={{uuid}}`\n- Search by partition label (GPT or MAC partition table):\n  `findfs PARTLABEL={{partition_label}}`\n- Search by partition UUID (GPT partition table only):\n  `findfs PARTUUID={{partition_uuid}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXIT STATUS**\n- **ENVIRONMENT**\n- **AUTHORS**\n- **SEE ALSO**\n- **REPORTING BUGS**\n- **AVAILABILITY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "findfs",
        "section": "",
        "mode": "man",
        "summary": "findfs - find a filesystem by label or UUID",
        "synopsis": "findfs NAME=value",
        "tldr_summary": "Finds a filesystem by label or UUID.",
        "tldr_examples": [
            {
                "description": "Search block devices by filesystem label",
                "command": "findfs LABEL={{label}}"
            },
            {
                "description": "Search by filesystem UUID",
                "command": "findfs UUID={{uuid}}"
            },
            {
                "description": "Search by partition label (GPT or MAC partition table)",
                "command": "findfs PARTLABEL={{partition_label}}"
            },
            {
                "description": "Search by partition UUID (GPT partition table only)",
                "command": "findfs PARTUUID={{partition_uuid}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "blkid",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/blkid/8/json"
            },
            {
                "name": "lsblk",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lsblk/8/json"
            },
            {
                "name": "partx",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/partx/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 27,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "findfs - find a filesystem by label or UUID\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "findfs NAME=value\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "findfs will search the block devices in the system looking for a filesystem or partition with\nspecified tag. The currently supported tags are:\n\nLABEL=<label>\nSpecifies filesystem label.\n\nUUID=<uuid>\nSpecifies filesystem UUID.\n\nPARTUUID=<uuid>\nSpecifies partition UUID. This partition identifier is supported for example for GUID\nPartition Table (GPT) partition tables.\n\nPARTLABEL=<label>\nSpecifies partition label (name). The partition labels are supported for example for GUID\nPartition Table (GPT) or MAC partition tables.\n\nIf the filesystem or partition is found, the device name will be printed on stdout.\n\nThe complete overview about filesystems and partitions you can get for example by\n\nlsblk --fs\n\npartx --show <disk>\n\nblkid\n",
                "subsections": []
            },
            "EXIT STATUS": {
                "content": "0\nsuccess\n\n1\nlabel or uuid cannot be found\n\n2\nusage error, wrong number of arguments or unknown option\n",
                "subsections": []
            },
            "ENVIRONMENT": {
                "content": "LIBBLKIDDEBUG=all\nenables libblkid debug output.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "findfs was originally written by Theodore Ts’o <tytso@mit.edu> and re-written for the\nutil-linux package by Karel Zak <kzak@redhat.com>.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "blkid(8), lsblk(8), partx(8)\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "The findfs command is part of the util-linux package which can be downloaded from Linux\nKernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2021-06-02                                    FINDFS(8)",
                "subsections": []
            }
        }
    }
}