From: Karel Zak Date: Mon, 16 Oct 2017 09:45:41 +0000 (+0200) Subject: blkid: cleanup man page info about lsblk X-Git-Tag: v2.31~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12786a901520d7b30ff75ee8727221bf8a3089cb;p=thirdparty%2Futil-linux.git blkid: cleanup man page info about lsblk Signed-off-by: Karel Zak --- diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index 3fc102f25a..b296f19f0f 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