blkid: cleanup man page info about lsblk

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-10-16 11:45:41 +02:00
parent e1b1c7b082
commit 12786a9015
1 changed files with 15 additions and 15 deletions

View 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