[systemd-devel] udev re-reading partition tables on inotify

Lennart Poettering lennart at poettering.net
Tue May 6 13:50:49 UTC 2025


On Di, 06.05.25 15:47, Lennart Poettering (lennart at poettering.net) wrote:

> This is not new behaviour btw. It's widely documented (as above), and
> has been that way for decades.

(One more note: you can also disable the inotify thing if you like via
OPTIONS and "watch" in the udev rules file. But this is not a
comprehensive work-around, as it just disables the automatic
rescanning, uevents generated for the block devices otherwise will
still be triggered, and that can really happen any time (i.e. for any
kind of device a "udevadm trigger -a change" should be safe at any
time, if it's not then the app is borked).

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list