summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2014-11-19 14:43:38 +0100
committerKarel Zak2014-11-19 14:43:38 +0100
commit9b825f81940b18f6db2e43063431aef30e89a0fa (patch)
tree3787e201854fa4d9908b034294eb788fbdd57513
parentlib/colors: fix double free on error path (diff)
downloadkernel-qcow2-util-linux-9b825f81940b18f6db2e43063431aef30e89a0fa.tar.gz
kernel-qcow2-util-linux-9b825f81940b18f6db2e43063431aef30e89a0fa.tar.xz
kernel-qcow2-util-linux-9b825f81940b18f6db2e43063431aef30e89a0fa.zip
blkid: add hint about lsblk to the man page
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--misc-utils/blkid.810
1 files changed, 9 insertions, 1 deletions
diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8
index 7d1aa5b02..156a14b6a 100644
--- a/misc-utils/blkid.8
+++ b/misc-utils/blkid.8
@@ -61,6 +61,13 @@ library. It can determine the type of content (e.g. filesystem or swap)
that a block device holds, and also the attributes (tokens, NAME=value pairs)
from the content metadata (e.g. LABEL or UUID fields).
.PP
+It is recommended to use
+.BR lsblk (8)
+command to get information about block devices rather than blkid.
+.BR lsblk (8)
+provides more information, better control on output formatting and it does not
+require root permissions to get actual information.
+.PP
When
.I device
is specified, tokens from only this device are displayed.
@@ -302,7 +309,8 @@ and Karel Zak.
.SH SEE ALSO
.BR libblkid (3),
.BR findfs (8),
-.BR wipefs (8)
+.BR wipefs (8),
+.BR lsblk (8),
.SH AVAILABILITY
The blkid command is part of the util-linux package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.