rounds off udev
This commit is contained in:
parent
6c80ecbd0c
commit
fdc334b0dc
|
@ -609,3 +609,13 @@ helloworld: Fri Aug 20 12:50:33 BST 2021 - /devices/pci0000:00/0000:00:1a.0/usb1
|
||||||
helloworld: Fri Aug 20 12:50:33 BST 2021 - /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/host6/target6:0:0/6:0:0:0/block/sdc/sdc1 - sdc1
|
helloworld: Fri Aug 20 12:50:33 BST 2021 - /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/host6/target6:0:0/6:0:0:0/block/sdc/sdc1 - sdc1
|
||||||
➜ ~ git:(master) ✗
|
➜ ~ git:(master) ✗
|
||||||
```
|
```
|
||||||
|
|
||||||
|
As the rule triggers the script, we can make changes to this script without reloading the rules.
|
||||||
|
I advise to de-couple the development of the rule from the development of the script.
|
||||||
|
First make sure your rule works as expected with some sort of script placeholder you can verify, next develop your script and make it as robust as possible.
|
||||||
|
|
||||||
|
|
||||||
|
## Conclusion
|
||||||
|
|
||||||
|
This is just an introduction the fundamental concepts and usage of `udev`.
|
||||||
|
We'll tie it together with `systemd` once we've investigated [dbus](./learning_dbus.md).
|
||||||
|
|
Loading…
Reference in New Issue