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 --action=add
udevadm settle (is this one necessary ?)
udevadm trigger --type=devices --action=add
udevadm settle
And, possibly later - retry any failures with:
udevadm trigger --type=failed --action=add
udevadm settle
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html