Hello all,

I was just playing with some udev rules for automounting USB drives,
and noticed that the rules were working fine when the USB drive was
hot plugged, but not when it was already plugged at boot time.

After some investigation I found that the reason: At boot time, the
default udev init script in ptxdist (from projectroot/etc/init.d/udev)
calls udevadm trigger in order to "coldplug" devices that have already
been discovered by the time the udev daemon is started. However
udevadm trigger is called without arguments, which is equivalent to
--action=change. Thus udev rules for the "add" action are not
triggered.

Shouldn't this be changed to udevadm trigger --action=add ? I believe
most Linux distributions out there are using --action=add in their
udev init scripts.

Best,

Guillermo Rodriguez Garcia
[email protected]

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to