summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsblk.8
diff options
context:
space:
mode:
authorKarel Zak2018-06-19 16:30:29 +0200
committerKarel Zak2018-06-21 13:19:28 +0200
commit498d1486614d84da313b2135c5ba924ce693b7b9 (patch)
tree3a5a3f2d8d0ebb35fc285ac778ef130be3157869 /misc-utils/lsblk.8
parentlsblk: fix sysfs_devno_to_devname() usage (diff)
downloadkernel-qcow2-util-linux-498d1486614d84da313b2135c5ba924ce693b7b9.tar.gz
kernel-qcow2-util-linux-498d1486614d84da313b2135c5ba924ce693b7b9.tar.xz
kernel-qcow2-util-linux-498d1486614d84da313b2135c5ba924ce693b7b9.zip
lsblk: document --sysroot
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.8')
-rw-r--r--misc-utils/lsblk.86
1 files changed, 6 insertions, 0 deletions
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index 708381448..61e8f896f 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -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.
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.
+.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
For partitions, some information (e.g. queue attributes) is inherited from the
parent device.