aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2016-11-02 14:47:37 +0100
committerKarel Zak <kzak@redhat.com>2016-11-02 14:47:37 +0100
commite76e6747cbd9eb1facbdb6026481e680c256750b (patch)
tree4e1aead60618b7aea58a552da5ca84e4beb92125
parent5e2305ca5c2161279ac2577650b8f26789c1f751 (diff)
downloadutil-linux-e76e6747cbd9eb1facbdb6026481e680c256750b.tar.gz
lsblk: add note about --sort and --list relation
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--Documentation/TODO3
-rw-r--r--misc-utils/lsblk.82
2 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/TODO b/Documentation/TODO
index 1d6b277a4b..c603fd3f0f 100644
--- a/Documentation/TODO
+++ b/Documentation/TODO
@@ -24,6 +24,9 @@ lscpu
lsblk
-----
+ - (!) add --tree to force tree output for operations like --sort where the
+ --list is enabled by default.
+
- currently it does not show mountpoint for all devices in btrfs RAID. It's because
/proc/#/mountinfo contains reference to the one device only. Maybe we can add some
btrfs specific code to provide a better output for FS based stacks. Not sure.
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index d82d232b3b..5e2c1242f5 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -125,7 +125,7 @@ This option is equivalent to
Display version information and exit.
.TP
.BR \-x , " \-\-sort " \fIcolumn\fP
-Sort output lines by \fIcolumn\fP.
+Sort output lines by \fIcolumn\fP. This option enables \fB\-\-list\fR output.
.SH NOTES
For partitions, some information (e.g. queue attributes) is inherited from the
parent device.