summaryrefslogtreecommitdiffstats
path: root/misc-utils/blkid.8
diff options
context:
space:
mode:
authorKarel Zak2017-10-16 11:45:41 +0200
committerKarel Zak2017-10-16 11:45:41 +0200
commit12786a901520d7b30ff75ee8727221bf8a3089cb (patch)
tree721286dda162937947e71a9cedcf89c1d3970ce4 /misc-utils/blkid.8
parentzramctl: fix show all non-zero zram devices (diff)
downloadkernel-qcow2-util-linux-12786a901520d7b30ff75ee8727221bf8a3089cb.tar.gz
kernel-qcow2-util-linux-12786a901520d7b30ff75ee8727221bf8a3089cb.tar.xz
kernel-qcow2-util-linux-12786a901520d7b30ff75ee8727221bf8a3089cb.zip
blkid: cleanup man page info about lsblk
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/blkid.8')
-rw-r--r--misc-utils/blkid.830
1 files 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