Closed codefiles closed 6 months ago
Awesome work, and nice finding. This might have been the issue I've had issue describing and finding a solution to back when we had issues with partitions not being available in lsblk/partition listing? Sounds like that's exactly what it's for at least, to let the kernel discover all the nodes properly.
When a device is added or modified udev is updated with information about the device via udev events. If lsblk is used before udev is finished processing the event queue then information may be missing. According to udevadm.8, udevadm settle
waits until all the currently queued udev events are handled before it exits.
Resolves #2411