summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-wait.c
Commit message (Collapse)AuthorAgeFilesLines
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-1/+1
| | | | | | | | | Chasing symlinks is a core function that's used in a lot of places so it deservers a less verbose names so let's rename it to chase() and chaseat(). We also slightly change the pattern used for the chaseat() helpers so we get chase_and_openat() and similar.
* udevadm-wait: shorten code a bitYu Watanabe2022-09-061-10/+3
|
* udevadm-wait: wait for two periodic timer triggered before exitYu Watanabe2022-09-061-3/+16
|
* udevadm-wait: also listen kernel uevent stream if --initialized=noYu Watanabe2022-09-061-12/+19
| | | | Suggested at https://github.com/systemd/systemd/pull/24471#discussion_r959703103.
* udevadm-wait: move comments and condition outside of setup_periodic_timer()Yu Watanabe2022-09-031-17/+15
|
* udevadm-wait: introduce periodic timer for checking devicesYu Watanabe2022-08-291-2/+67
| | | | | When --initialized=no is specified, it is not necessary to wait for uevents to be processed by udevd.
* udevadm: wait: check if specified path not exist on --removeYu Watanabe2022-04-231-10/+14
| | | | | | | Even if the corresponding device node or syspath are already removed, the specified symlink to the device node may still exist. Fixes #23166.
* udevadm: introduce new 'wait' commandYu Watanabe2022-04-011-0/+378
Prompted by https://github.com/systemd/systemd/pull/22717#issuecomment-1067348496. The new command 'udevadm wait' waits for device or device symlink being created. This may be useful to wait for a device is processed by udevd after e.g. formatting or partitioning the device.