while I was evaluating dvdisaster (along with destroying the disc yes), I wanted to stop the system try to read the label/raise an event when a disc is inserted
most of the information on disabling polling are old which all points to udisks --inhibit-polling
but udisks (not udisk2) is long gone, the actual way to do this is:
echo 0 > /sys/devices/pci..../block/sr0/events_poll_msecs
and reset with this:
echo -1 > /sys/devices/pci..../block/sr0/events_poll_msecs
there’s also symlink to it, you should be able to figure that out 🙂
source: https://superuser.com/a/1783343
Leave a Reply