It's seems detection by BLKRRPART is broken in recent kernels (probably regression), and it's also overkill to force kernel re-read all and generate all the events. It seems more elegant to use O_EXCL. Signed-off-by: Karel Zak <kzak@redhat.com>