[parted-devel] [PATCH 2/2] tests/t1701-rescue-fs wait for the device to appear.

Brian C. Lane bcl at redhat.com
Mon May 1 18:57:49 UTC 2017


On Mon, May 01, 2017 at 02:53:20PM -0400, Phil Susi wrote:
> On 5/1/2017 2:35 PM, Brian C. Lane wrote:
> > The only udev synchronization we have is for device-mapper devices.
> 
> Ahh right.. perhaps we need to remedy that?  If our test suite has a
> problem with parted exiting before the device shows up, I would think
> that pretty much all callers of it would.

They do :)

> 
> It looks like Debian has been carrying a patch for some time that runs
> system("udevadm settle") in linux_disk_commit.  It seems like there
> should be a better way of doing that.

Oh, interesting. That seems like the big stick way to do it. We could
probably make the DM udev handling more generic so that it only happens
on changes.

-- 
Brian C. Lane (PST8PDT)



More information about the parted-devel mailing list