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/class/block/sr0/events_poll_msecs

and reset with this:

echo -1 > /sys/class/block/sr0/events_poll_msecs

ref: https://superuser.com/a/1783343

Leave a Reply

Your email address will not be published. Required fields are marked *