Re: [Xen-devel] [PATCH OSSTEST] Debian: Wait for udev devices to settle in erase-other-disks

2015-09-23 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST] Debian: Wait for udev devices to settle in erase-other-disks"): > On Wed, 2015-09-23 at 16:59 +0100, Ian Jackson wrote: > > logmsg () { logger -t osstest-erase-other-disks-\$\$ "\$@" } > > I wasn't confident in getting the shell-in-perl backticks correc

Re: [Xen-devel] [PATCH OSSTEST] Debian: Wait for udev devices to settle in erase-other-disks

2015-09-23 Thread Ian Campbell
On Wed, 2015-09-23 at 16:59 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST] Debian: Wait for udev devices to > settle in erase-other-disks"): > > Otherwise we, apparently, have a race between the "test -b" + dd > > against the sda1 device node being removed and end up creating a f

Re: [Xen-devel] [PATCH OSSTEST] Debian: Wait for udev devices to settle in erase-other-disks

2015-09-23 Thread Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] Debian: Wait for udev devices to settle in erase-other-disks"): > Otherwise we, apparently, have a race between the "test -b" + dd > against the sda1 device node being removed and end up creating a file > called /dev/sda1 containing 32K of zeroes, which will l

[Xen-devel] [PATCH OSSTEST] Debian: Wait for udev devices to settle in erase-other-disks

2015-09-23 Thread Ian Campbell
Otherwise we, apparently, have a race between the "test -b" + dd against the sda1 device node being removed and end up creating a file called /dev/sda1 containing 32K of zeroes, which will later render mke2fs very confused. For some reason we seem to reliably loose the race on Jessie i386 host ins