From 12786a901520d7b30ff75ee8727221bf8a3089cb Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 16 Oct 2017 11:45:41 +0200 Subject: [PATCH] blkid: cleanup man page info about lsblk Signed-off-by: Karel Zak --- misc-utils/blkid.8 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index 3fc102f25..b296f19f0 100644 --- a/misc-utils/blkid.8 +++ b/misc-utils/blkid.8 @@ -55,10 +55,21 @@ from the content metadata (e.g. LABEL or UUID fields). .PP .B It is recommended to use .BR lsblk (8) -.B command to get information about block devices rather than blkid. +.B command to get information about block devices, or lsblk --fs to get an overview of filesystems, or +.BR findmnt (8) +.B to search in already mounted filesystems. +.PP +.RS .BR lsblk (8) -provides more information, better control on output formatting and it does not -require root permissions to get actual information. +provides more information, better control on output formatting, easy to use in +scripts and it does not require root permissions to get actual information. +.B blkid +reads information directly from devices and for non-root users +it returns cached unverified information. +.B blkid +is mostly designed for system services and to test libblkid functionality. +.RE + .PP When .I device @@ -70,17 +81,6 @@ If none is given, all devices which appear in .I /proc/partitions are shown, if they are recognized. .PP -Note that -.B blkid -reads information directly from devices and for non-root users -it returns cached unverified information. It is better to use -.B lsblk --fs -to get a user-friendly overview of filesystems and devices. -.BR lsblk (8) -is also easy to use in scripts. -.B blkid -is mostly designed for system services and to test libblkid functionality. -.PP .B blkid has two main forms of operation: either searching for a device with a specific NAME=value pair, or displaying NAME=value pairs for one or @@ -272,7 +272,7 @@ identified, an exit code of 2 is returned. For usage or other errors, an exit code of 4 is returned. -If an ambivalent low-level probing result was detected, an exit code of 8 is +If an ambivalent probing result was detected by low-level probing mode (\fB\-p\fR), an exit code of 8 is returned. .SH CONFIGURATION FILE The standard location of the