On Mon, 2018-04-16 at 08:32 +0200, Hannes Reinecke wrote: > > But doesn't this cause udev to generate another event upon release? > Or is that prevented by the O_RDONLY setting? Exactly, udev triggers only on "close after write" events. Martin -- Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel