Hi
I just solved a udev problem by adding ACTION=="add" to the rule. Before that the udev rule -- for a partition on a USB HDD -- was triggered when the USB HDD's partition was fscked.
What are the possible ACTION values and their significance?
The udev man page is coy:
Quote:
ACTION
Match the name of the event action.
|
Searching the /lib/udev/rules.d/* files showed ACTION values of "add", "change" and "remove" (and one "add|change").
Which changes are covered by "change"? In general they seem to be changes in a device's attributes; detail can be found by running
udevadm monitor --property.
Doing so before an fsck showed two sets of changes but none of them were obviously related to fsck. Perhaps while running fsck, the kernel learns more about the partition so the "change" is "here are some more attributes" ... ?