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

Lennart Poettering lennart at poettering.net
Thu Oct 26 12:49:18 UTC 2017


On Do, 26.10.17 15:31, Mantas Mikulėnas (grawity at gmail.com) wrote:

> 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.

All of which listen to udev afaik, and given that udev honours the BSD
locks, we should be good hence.

Also, all of those are obsolete these days, so it might be time to update.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list