# phpman > man > grub-fstest(1)

[GRUB-FSTEST(1)](https://www.chedong.com/phpMan.php/man/GRUB-FSTEST/1/markdown)                              User Commands                             [GRUB-FSTEST(1)](https://www.chedong.com/phpMan.php/man/GRUB-FSTEST/1/markdown)



## NAME
       grub-fstest - debug tool for GRUB filesystem drivers

## SYNOPSIS
       **grub-fstest** [_OPTION_...] _IMAGE_PATH_ _COMMANDS_

## DESCRIPTION
       Debug tool for filesystem driver.

              Commands:

       blocklist FILE
              Display blocklist of FILE.

       cat FILE
              Copy FILE to standard output.

       cmp FILE LOCAL
              Compare FILE with local file LOCAL.

       cp FILE LOCAL
              Copy FILE to local file LOCAL.

       crc FILE
              Get crc32 checksum of FILE.

       hex FILE
              Show contents of FILE in hex.

       ls PATH
              List files in PATH.

       xnu_uuid DEVICE
              Compute XNU UUID of the device.

### -c --diskcount
              Specify the number of input files.

### -C --crypto
              Mount crypto devices.

### -d --debug
              Set debug environment variable.

### -K --zfs-key
              Load zfs crypto key.

### -n --length
              Handle N bytes in output file.

### -r --root
              Set root device.

### -s --skip
              Skip N bytes from output file.

### -u --uncompress
              Uncompress data.

### -v --verbose
              print verbose messages.

       -?, **--help**
              give this help list

### --usage
              give a short usage message

### -V --version
              print program version

       Mandatory or optional arguments to long options are also mandatory or optional for any corre‐
       sponding short options.

## SEE ALSO
       [**grub-probe**(8)](https://www.chedong.com/phpMan.php/man/grub-probe/8/markdown)

       The full documentation for **grub-fstest** is maintained as a Texinfo manual.  If  the  **info**  and
       **grub-fstest** programs are properly installed at your site, the command

              **info** **grub-fstest**

       should give you access to the complete manual.



GRUB 2.06-2ubuntu7.2                        December 2022                             [GRUB-FSTEST(1)](https://www.chedong.com/phpMan.php/man/GRUB-FSTEST/1/markdown)
