summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsblk.8
diff options
context:
space:
mode:
authorKarel Zak2014-09-05 10:02:45 +0200
committerKarel Zak2014-09-05 10:02:45 +0200
commit3c2e64b0ca73b90b80365842e95abb2858217e60 (patch)
tree0ff3ca8a1287ceaa29ab3627abcd50633ec22312 /misc-utils/lsblk.8
parentbuild-sys: create parent directory for $(PATHFILES) (diff)
downloadkernel-qcow2-util-linux-3c2e64b0ca73b90b80365842e95abb2858217e60.tar.gz
kernel-qcow2-util-linux-3c2e64b0ca73b90b80365842e95abb2858217e60.tar.xz
kernel-qcow2-util-linux-3c2e64b0ca73b90b80365842e95abb2858217e60.zip
lsblk: add notes about udev to the man page
Reported-by: Francis Moreau <francis.moro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.8')
-rw-r--r--misc-utils/lsblk.815
1 files changed, 13 insertions, 2 deletions
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index 664db0e91..d11a79009 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -11,8 +11,10 @@ lsblk \- list block devices
lists information about all available or the specified block devices. The
.B lsblk
command reads the
-.I sysfs
-filesystem to gather information.
+.B sysfs
+filesystem and
+.B udev db
+to gather information.
.PP
The command prints all block devices (except RAM disks) in a tree-like format
by default. Use
@@ -28,6 +30,15 @@ outputs in your scripts. Always explicitly define expected columns by using
.B \-\-output
.I columns-list
in environments where a stable output is required.
+.PP
+Note that
+.B lsblk
+might be executed in time when
+.B udev
+does not have all information about recently added or modified devices yet. In this
+case it is recommended to use
+.B "udevadm settle"
+before lsblk to synchronize with udev.
.SH OPTIONS
.TP
.BR \-a , " \-\-all"