]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blkid: cleanup man page info about lsblk
authorKarel Zak <kzak@redhat.com>
Mon, 16 Oct 2017 09:45:41 +0000 (11:45 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Oct 2017 09:45:41 +0000 (11:45 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/blkid.8

index 3fc102f25abeaba4576e7267b241ab8081f3229d..b296f19f0fb2c88feffd3c62adaf583e498b158b 100644 (file)
@@ -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