grub2-fstest man page

grub-fstest — Debug tool for GRUB's filesystem driver.

Synopsis

grub-fstest [-c | --diskcount=NUM] [-C | --crypto]

[-d | --debug=STRING] [-K | --zfs-key=FILE|prompt]
[-n | --length=NUM] [-r | --root=DEVICE_NAME]
[-s | --skip=NUM] [-u | --uncompress] [-v | --verbose]
IMAGE_PATH <blocklist FILE | cat FILE |
cmp FILE LOCAL | cp FILE LOCAL | crc FILE |
hex FILE | ls PATH | xnu_uuid DEVICE>

Description

grub-fstest is a tool for testing GRUB's filesystem drivers.  You should not normally need to run this program.

Options

--diskcount=NUM

Specify the number of input files.

--crypto

Mount cryptographic devices.

--debug=STRING

Set debug environment variable.

--zfs-key=FILE|prompt

Load ZFS cryptographic key.

--length=NUM

Handle NUM bytes in output file.

--root=DEVICE_NAME

Set root device.

--skip=NUM

Skip NUM bytes from output file.

--uncompress

Uncompress data.

--verbose

Print verbose messages.

Commands

blocklist FILE

Display block list of FILE.

cat FILE

Display FILE on standard output.

cmp FILE LOCAL

Compare FILE with local file LOCAL.

cp FILE LOCAL

Copy FILE to local file LOCAL.

crc FILE

Display the CRC-32 checksum of FILE.

hex FILE

Display contents of FILE in hexidecimal.

ls PATH

List files at PATH.

xnu_uuid DEVICE

Display the XNU UUID of DEVICE.

See Also

info grub

Info

Wed Feb 26 2014