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

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

To respond on your own website, enter the URL of your response which should contain a link to this post’s permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post’s URL again. (Find out more about Webmentions.)