proper way to coldplug with current udev
Since v129, there's --type option to use with trigger, and since v152 the default --action is 'change'.
What is the proper, "reference" way to do coldplug now ? Looking into rc scripts of few distros - some of them use both --type (to trigger both 'subsystems' and 'devices') and --action (to force 'add'), some only adjust --type (so: 'devices' + 'new'), some others rely on the defaults ('devices' + 'change').
The most complete form would be something like:
udevadm trigger --type=subsystems --actiond
udevadm settle (is this one necessary ?)
udevadm trigger --typeÞvices --actiond
udevadm settle
And, possibly later - retry any failures with:
udevadm trigger --typeúiled --actiond
udevadm settle