[systemd-devel] How to stop systemd-udevd reading a device after dd

Mantas Mikulėnas grawity at gmail.com
Thu Oct 26 12:31:01 UTC 2017


On Tue, Oct 24, 2017 at 11:33 AM, Lennart Poettering <lennart at poettering.net
> wrote:

> On Fr, 13.10.17 08:06, Mantas Mikulėnas (grawity at gmail.com) wrote:
>
> > gparted seems to achieve this by masking all .rules files it can find (by
> > creating 0-byte versions under /run/udev/rules.d).
>
> Urks.
>
> Somebody should tell them about BSD file locks.
>

That might not be enough for their purposes, as it also tries to pause
udisks2, udisks, devicekit-disks, and even hal.

https://github.com/GNOME/gparted/blob/master/gparted.in#L168

-- 
Mantas Mikulėnas <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171026/b2219074/attachment.html>


More information about the systemd-devel mailing list