cockpit-project/cockpit — pull request #1230 by mvollmer (2014-09-22 09:05:02+00:00)
Title: daemon: Use UDisks to check whether a block device is in use.

Instead of trying to open it with O_EXCL, which doesn't work as
non-root.

Fixes #1205