Tiny Core Base > TCB Talk

udev rules location and priority?

(1/2) > >>

bmarkus:
udev rule files can be found in the following directories after installing misc. extensions:

/usr/local/etc/udev/rules.d
/etc/udev/rules.d
/lib/udev/rules.d

It looks a bit messy. Are these locations working? If yes, what is their priority?

Also I do not find udev.conf Isn't it missing?

curaga:
We don't have a need for udev.conf, the defaults are ok.

For priority see http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html

bmarkus:
It says:


--- Quote ---The udev rules are read from the files located in the system rules directory /usr/lib/udev/rules.d, the volatile runtime directory /run/udev/rules.d and the local administration directory /etc/udev/rules.d.
--- End quote ---

According to above /usr/local/etc/udev/rules.d and /lib/udev/rules.d are not used by udev.

curaga:
/lib is used AFAIK, perhaps the docs are out of date (or maybe newer than our udev). /usr/local is not, AFAIK.

bmarkus:

--- Quote from: curaga on April 04, 2012, 05:16:03 AM ---/lib is used AFAIK, perhaps the docs are out of date (or maybe newer than our udev). /usr/local is not, AFAIK.

--- End quote ---

I'm investigating why thunar-volman doesn't work (it is based on udisks) and came across the install locations. Still it requires tests what is going on :)

Navigation

[0] Message Index

[#] Next page

Go to full version