Comment 5 for bug 890592

Revision history for this message
Martin Pitt (pitti) wrote : Re: Ejecting a CD or DVD manually does not unmount it

The first reason is that our current kernel package seems to have the "block" module built in now, so the udev rule which is meant to set the default in-kernel polling value doesn't work:

ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", ATTR{parameters/events_dfl_poll_msecs}="2000"

This requires a sysctl.d setting now. Will add to udev package.

However, even when I set the polling interval manually, the kernel still doesn't emit an eject_request uevent, even though it claims to:

$ cat /sys/block/sr0/events
media_change eject_request

I still need to investigate that.