{
    "mode": "man",
    "parameter": "grub-fstest",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/grub-fstest/1/json",
    "generated": "2026-06-05T13:54:16Z",
    "synopsis": "grub-fstest [OPTION...] IMAGEPATH COMMANDS",
    "sections": {
        "NAME": {
            "content": "grub-fstest - debug tool for GRUB filesystem drivers\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "grub-fstest [OPTION...] IMAGEPATH COMMANDS\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Debug tool for filesystem driver.\n\nCommands:\n\nblocklist FILE\nDisplay blocklist of FILE.\n\ncat FILE\nCopy FILE to standard output.\n\ncmp FILE LOCAL\nCompare FILE with local file LOCAL.\n\ncp FILE LOCAL\nCopy FILE to local file LOCAL.\n\ncrc FILE\nGet crc32 checksum of FILE.\n\nhex FILE\nShow contents of FILE in hex.\n\nls PATH\nList files in PATH.\n\nxnuuuid DEVICE\nCompute XNU UUID of the device.\n",
            "subsections": [
                {
                    "name": "-c --diskcount",
                    "content": "Specify the number of input files.\n",
                    "flag": "-c",
                    "long": "--diskcount"
                },
                {
                    "name": "-C --crypto",
                    "content": "Mount crypto devices.\n",
                    "flag": "-C",
                    "long": "--crypto"
                },
                {
                    "name": "-d --debug",
                    "content": "Set debug environment variable.\n",
                    "flag": "-d",
                    "long": "--debug"
                },
                {
                    "name": "-K --zfs-key",
                    "content": "Load zfs crypto key.\n",
                    "flag": "-K",
                    "long": "--zfs-key"
                },
                {
                    "name": "-n --length",
                    "content": "Handle N bytes in output file.\n",
                    "flag": "-n",
                    "long": "--length"
                },
                {
                    "name": "-r --root",
                    "content": "Set root device.\n",
                    "flag": "-r",
                    "long": "--root"
                },
                {
                    "name": "-s --skip",
                    "content": "Skip N bytes from output file.\n",
                    "flag": "-s",
                    "long": "--skip"
                },
                {
                    "name": "-u --uncompress",
                    "content": "Uncompress data.\n",
                    "flag": "-u",
                    "long": "--uncompress"
                },
                {
                    "name": "-v --verbose",
                    "content": "print verbose messages.\n\n-?, --help\ngive this help list\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "--usage",
                    "content": "give a short usage message\n",
                    "long": "--usage"
                },
                {
                    "name": "-V --version",
                    "content": "print program version\n\nMandatory or optional arguments to long options are also mandatory or optional for any corre‐\nsponding short options.\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "SEE ALSO": {
            "content": "grub-probe(8)\n\nThe full documentation for grub-fstest is maintained as a Texinfo manual.  If  the  info  and\ngrub-fstest programs are properly installed at your site, the command\n\ninfo grub-fstest\n\nshould give you access to the complete manual.\n\n\n\nGRUB 2.06-2ubuntu7.2                        December 2022                             GRUB-FSTEST(1)",
            "subsections": []
        }
    },
    "summary": "grub-fstest - debug tool for GRUB filesystem drivers",
    "flags": [
        {
            "flag": "-c",
            "long": "--diskcount",
            "arg": null,
            "description": "Specify the number of input files."
        },
        {
            "flag": "-C",
            "long": "--crypto",
            "arg": null,
            "description": "Mount crypto devices."
        },
        {
            "flag": "-d",
            "long": "--debug",
            "arg": null,
            "description": "Set debug environment variable."
        },
        {
            "flag": "-K",
            "long": "--zfs-key",
            "arg": null,
            "description": "Load zfs crypto key."
        },
        {
            "flag": "-n",
            "long": "--length",
            "arg": null,
            "description": "Handle N bytes in output file."
        },
        {
            "flag": "-r",
            "long": "--root",
            "arg": null,
            "description": "Set root device."
        },
        {
            "flag": "-s",
            "long": "--skip",
            "arg": null,
            "description": "Skip N bytes from output file."
        },
        {
            "flag": "-u",
            "long": "--uncompress",
            "arg": null,
            "description": "Uncompress data."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "print verbose messages. -?, --help give this help list"
        },
        {
            "flag": "",
            "long": "--usage",
            "arg": null,
            "description": "give a short usage message"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "print program version Mandatory or optional arguments to long options are also mandatory or optional for any corre‐ sponding short options."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "grub-probe",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/grub-probe/8/json"
        },
        {
            "name": "GRUB-FSTEST",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/GRUB-FSTEST/1/json"
        }
    ]
}