Dne 4.5.2014 18:54, Hannes Reinecke napsal(a):
On 05/04/2014 01:34 AM, Christophe Varoqui wrote:
It seems sg_persist is doing an "open rw => close" for --in commands,
causing a kernel change-event.
Yep.
Look for 'watch' in the udev rules, that's precisely what it's doing.
(Bloody annoying if you ask me. Generally I recommend to remove that thing
from the rules).
When watch rule is disabled/removed in udev rules - your udev db becomes
invalid when i.e. you run command like 'mkfs' - since the udev db will not
be updated to list information about newly formatted filesystem.
Of course there are many cases where disabling watch rule makes sense
(i.e. you export lots of disks to virtual guests) - but unless you are
familiar with udev and you know what you are doing - think twice before disabling.
Zdenek
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel