summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsblk.8
diff options
context:
space:
mode:
authorKarel Zak2012-03-08 16:04:45 +0100
committerKarel Zak2012-03-08 16:04:45 +0100
commit7c9c872c2bd43ba44107e63919f57db0b8be7edc (patch)
tree43ed5dbd2aac341fdfd63bdd2cc139801cd22a51 /misc-utils/lsblk.8
parentscript: play well with csh when invoked from within /etc/csh.login (diff)
downloadkernel-qcow2-util-linux-7c9c872c2bd43ba44107e63919f57db0b8be7edc.tar.gz
kernel-qcow2-util-linux-7c9c872c2bd43ba44107e63919f57db0b8be7edc.tar.xz
kernel-qcow2-util-linux-7c9c872c2bd43ba44107e63919f57db0b8be7edc.zip
lsblk: escape unsafe chars in parsable output
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.8')
-rw-r--r--misc-utils/lsblk.89
1 files changed, 7 insertions, 2 deletions
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index 028b19f10..cd63948db 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -54,15 +54,20 @@ Specify which output columns to print. Use
.B "--help"
to get a list of all supported columns.
.IP "\fB\-P, \-\-pairs\fP"
-Use key="value" output format.
+Use key="value" output format. All potentially unsafe characters are hex-escaped (\\x<code>).
.IP "\fB\-r, \-\-raw\fP"
-Use the raw output format.
+Use the raw output format. All potentially unsafe characters are hex-escaped (\\x<code>).
.IP "\fB\-t, \-\-topology\fP"
Output info about block device topology.
This option is equivalent to "-o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED".
.SH NOTES
For the partitions are some information (e.g. queue attributes) inherited from
parental device.
+
+The
+.B lsblk
+reads filesystem information (FSTYPE, LABEL and UUID) from udev database if
+not executed by root.
.PP
The
.B lsblk