I have a script that creates a partition (using pyparted) and then tries
to format it (using mkfs.ext4). Most of the time this works OK. However,
sometimes the format fails because it can't find the device. There seems
to be a race condition due to a delay between creating a partition and the
> From: Reindl Harald
> Am 20.11.2015 um 18:08 schrieb aaron_wri...@selinc.com:
> > I have a script that creates a partition (using pyparted) and then
tries
> > to format it (using mkfs.ext4). Most of the time this works OK.
However,
> > sometimes the format fails
Andrei Borzenkov wrote on 11/20/2015 09:40:35 AM:
> 20.11.2015 20:08, aaron_wri...@selinc.com пишет:
> > I have a script that creates a partition (using pyparted) and then
tries
> > to format it (using mkfs.ext4). Most of the time this works OK.
However,
> > sometimes the
20.11.2015 20:08, aaron_wri...@selinc.com пишет:
I have a script that creates a partition (using pyparted) and then tries
to format it (using mkfs.ext4). Most of the time this works OK. However,
sometimes the format fails because it can't find the device. There seems
to be a race condition due
Am 20.11.2015 um 18:08 schrieb aaron_wri...@selinc.com:
I have a script that creates a partition (using pyparted) and then tries
to format it (using mkfs.ext4). Most of the time this works OK. However,
sometimes the format fails because it can't find the device. There seems
to be a race
On Fri, 20 Nov 2015 09:08:35 -0800
wrote:
> I have a script that creates a partition (using pyparted) and then
> tries to format it (using mkfs.ext4). Most of the time this works OK.
> However, sometimes the format fails because it can't find the device.
> There seems to