[systemd-devel] udevd: skip cd/dvd devices in synthesize_change

Kay Sievers kay at vrfy.org
Wed Jun 18 11:57:35 PDT 2014


On Wed, Jun 18, 2014 at 8:17 PM, Robert Milasan <rmilasan at suse.com> wrote:
> If we are running udevd from a LiveCD or ISO image, it can happen that
> udevd wont find the cd/dvd in time, causing a failure.
>
> I've attached the patch which seems to fix the issue.

Change events are triggered when some tool has opened the device for
writing and closes the file descriptor. That sounds pretty strange
with a Live CD on /dev/sr0.

All we do in the code you patch here is to look for possible partitions.

Are you sure that this is really the problem?

Kay


More information about the systemd-devel mailing list