diff options
author | Karel Zak <kzak@redhat.com> | 2014-09-05 10:02:45 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2014-10-24 09:58:58 +0200 |
commit | 2e94fb841f5e3beaf47da1b8a9b0bd7d8bcd3a0e (patch) | |
tree | dd62f0d114e634e887b3211a501887960a6dc739 | |
parent | 67cf7fb9f34b1b07ed2de18f2a2a07d0bbb9f986 (diff) | |
download | util-linux-2e94fb841f5e3beaf47da1b8a9b0bd7d8bcd3a0e.tar.gz |
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>
-rw-r--r-- | misc-utils/lsblk.8 | 15 |
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" |