From: Karel Zak Date: Fri, 5 Sep 2014 08:02:45 +0000 (+0200) Subject: lsblk: add notes about udev to the man page X-Git-Tag: v2.26-rc1~467 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2e64b0ca73b90b80365842e95abb2858217e60;p=thirdparty%2Futil-linux.git lsblk: add notes about udev to the man page Reported-by: Francis Moreau Signed-off-by: Karel Zak --- diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8 index 664db0e912..d11a790096 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"