]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blkid: add hint about lsblk to the man page
authorKarel Zak <kzak@redhat.com>
Wed, 19 Nov 2014 13:43:38 +0000 (14:43 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 19 Nov 2014 13:43:38 +0000 (14:43 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/blkid.8

index 7d1aa5b020dd102cf7957a861487d26a8d28309d..156a14b6ac69c2a754d3c92baa68a9657f2b6960 100644 (file)
@@ -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/.