]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsblk: add notes about udev to the man page
authorKarel Zak <kzak@redhat.com>
Fri, 5 Sep 2014 08:02:45 +0000 (10:02 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 5 Sep 2014 08:02:45 +0000 (10:02 +0200)
Reported-by: Francis Moreau <francis.moro@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.8

index 664db0e91249902acd06e150b8cd68a272dd56df..d11a7900968dec68592dc294239aa5f5e7360f8a 100644 (file)
@@ -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"