Thanks a lot! I have to do a deeper look to udev (userspace and kernelspace) to understand what is going on and what your patch change. Good work... 2011/6/29 Kay Sievers <kay.sievers@xxxxxxxx>: > On Tue, Jun 28, 2011 at 17:57, Tejun Heo <htejun@xxxxxxxxx> wrote: >> And here's a patch which triggers clearing check on close. It's on >> top of the following branch + the previous patch. >> >> git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-2.6-block.git for-linus >> >> With the patch applied, eject triggers MEDIA_CHANGE if the drive had a >> media in it. > > Seems to works fine for me. > > I think that was the last missing piece for the userspace switch-over. > > Thanks, > Kay > -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html