lsblk: document --sysroot
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
3273ce07e3
commit
498d148661
|
@ -134,6 +134,12 @@ Display version information and exit.
|
||||||
Sort output lines by \fIcolumn\fP. This option enables \fB\-\-list\fR output format by default.
|
Sort output lines by \fIcolumn\fP. This option enables \fB\-\-list\fR output format by default.
|
||||||
It is possible to use the option \fI\-\-tree\fP to force tree-like output and
|
It is possible to use the option \fI\-\-tree\fP to force tree-like output and
|
||||||
than the tree branches are sorted by the \fIcolumn\fP.
|
than the tree branches are sorted by the \fIcolumn\fP.
|
||||||
|
.TP
|
||||||
|
.BR " \-\-sysroot " \fIdirectory\fP
|
||||||
|
Gather data for a Linux instance other than the instance from which the lsblk
|
||||||
|
command is issued. The specified directory is the system root of the Linux
|
||||||
|
instance to be inspected. This option is designed for the testing purpose.
|
||||||
|
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
For partitions, some information (e.g. queue attributes) is inherited from the
|
For partitions, some information (e.g. queue attributes) is inherited from the
|
||||||
parent device.
|
parent device.
|
||||||
|
|
|
@ -1703,6 +1703,7 @@ static void __attribute__((__noreturn__)) usage(void)
|
||||||
fputs(_(" -S, --scsi output info about SCSI devices\n"), out);
|
fputs(_(" -S, --scsi output info about SCSI devices\n"), out);
|
||||||
fputs(_(" -t, --topology output info about topology\n"), out);
|
fputs(_(" -t, --topology output info about topology\n"), out);
|
||||||
fputs(_(" -x, --sort <column> sort output by <column>\n"), out);
|
fputs(_(" -x, --sort <column> sort output by <column>\n"), out);
|
||||||
|
fputs(_(" --sysroot <dir> use specified directory as system root\n"), out);
|
||||||
fputs(USAGE_SEPARATOR, out);
|
fputs(USAGE_SEPARATOR, out);
|
||||||
printf(USAGE_HELP_OPTIONS(22));
|
printf(USAGE_HELP_OPTIONS(22));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue