2
votes
1answer
107 views

Where can I find documentation or source code for udev properties?

Specifically, I've been trying to find what the possible values are for the property UDISKS_PARTITION_FLAGS. It seems to be set to "boot" if the partition has the boot/active flag set, and unset if ...
2
votes
0answers
210 views

Failed to execute shell script from “network” udev rule to change the MAC-address

I am trying to execute a shell script from udev rule, when a network interface is added, as follows: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", ...
4
votes
1answer
673 views

How does udev create /dev/sr*? (Or: Which rule does create /dev/sr*?)

udev is responsible for populating /dev. It adds and removes device nodes to /dev dynamically based on rules/configs/scripts under /lib/udev and /etc/udev/. If I have a CDROM device node /dev/sr0 I ...
24
votes
4answers
31k views

How to reload udev rules without reboot?

How should one reload udev rules, so that newly created one can function? I'm running Arch Linux, and I don't have a udevstart command here. Also checked /etc/rc.d, no udev service there.
17
votes
1answer
8k views

How to assign USB driver to device

This question is two-fold: First, how do you manually detach a driver from a USB device and attach a different one? For example, I have a device that when connected automatically uses the ...