1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH GRUB-FSTEST "1" "February 2024" "GRUB 2.06" "User Commands"
.SH NAME
grub-fstest \- debug tool for GRUB filesystem drivers
.SH SYNOPSIS
.B grub-fstest
[\fI\,OPTION\/\fR...] \fI\,IMAGE_PATH COMMANDS\/\fR
.SH DESCRIPTION
Debug tool for filesystem driver.
.IP
Commands:
.TP
blocklist FILE
Display blocklist of FILE.
.TP
cat FILE
Copy FILE to standard output.
.TP
cmp FILE LOCAL
Compare FILE with local file LOCAL.
.TP
cp FILE LOCAL
Copy FILE to local file LOCAL.
.TP
crc FILE
Get crc32 checksum of FILE.
.TP
hex FILE
Show contents of FILE in hex.
.TP
ls PATH
List files in PATH.
.TP
xnu_uuid DEVICE
Compute XNU UUID of the device.
.TP
\fB\-c\fR, \fB\-\-diskcount\fR=\fI\,NUM\/\fR
Specify the number of input files.
.TP
\fB\-C\fR, \fB\-\-crypto\fR
Mount crypto devices.
.TP
\fB\-d\fR, \fB\-\-debug\fR=\fI\,STRING\/\fR
Set debug environment variable.
.TP
\fB\-K\fR, \fB\-\-zfs\-key\fR=\fI\,FILE\/\fR|prompt
Load zfs crypto key.
.TP
\fB\-n\fR, \fB\-\-length\fR=\fI\,NUM\/\fR
Handle N bytes in output file.
.TP
\fB\-r\fR, \fB\-\-root\fR=\fI\,DEVICE_NAME\/\fR
Set root device.
.TP
\fB\-s\fR, \fB\-\-skip\fR=\fI\,NUM\/\fR
Skip N bytes from output file.
.TP
\fB\-u\fR, \fB\-\-uncompress\fR
Uncompress data.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
print verbose messages.
.TP
\-?, \fB\-\-help\fR
give this help list
.TP
\fB\-\-usage\fR
give a short usage message
.TP
\fB\-V\fR, \fB\-\-version\fR
print program version
.PP
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
.SH "SEE ALSO"
.BR grub-probe (8)
.PP
The full documentation for
.B grub-fstest
is maintained as a Texinfo manual. If the
.B info
and
.B grub-fstest
programs are properly installed at your site, the command
.IP
.B info grub-fstest
.PP
should give you access to the complete manual.
|