how reload udev rules and systemd on F18

Sérgio Basto sergio at serjux.com
Tue Feb 5 06:42:31 UTC 2013


On Ter, 2013-01-29 at 17:59 +0000, Sérgio Basto wrote: 
> On Ter, 2013-01-29 at 01:52 +0100, Lennart Poettering wrote:
> > Yes, even then. udev will notice rules dropped there.
> 
> OK I will test that 

I just test it and doesn't assign USB devices.

But seeing what udev.service , udev-trigger.service and
udev-settle.service do on :
systemctl restart udev.service
systemctl restart udev-trigger.service
systemctl restart udev-settle.service


I back to old scripts 
# Assign USB devices
if /sbin/udevadm control --reload-rules >/dev/null 2>&1
then
   /sbin/udevadm trigger --subsystem-match=usb >/dev/null 2>&1 || :
   /sbin/udevadm settle >/dev/null 2>&1 || :
fi

Best regards,
-- 
Sérgio M. B.



More information about the devel mailing list