Comment 41 for bug 1059872

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1059872] Re: Error formatting disk using disk utility

On 27 July 2014 03:16, Phillip Susi <email address hidden> wrote:
> Dimitri, are you going to revert that patch? I was going to revert it
> locally to verify that installing the new util-linux 2.24 from debian
> experimental fixed it, but it seems that the bzr branch is significantly
> out of date for some reason...
>

I've tested locally both 2.24 and 2.25 from pkg-util-linux and the
sample python script to format a drive using UDisks2 API still fails
with a timeout syncing after initial wipe.
I see no reason to revert that patch, given that UDisks still fails to
format drives, by default. And all that patch does is introduces an
extra option to be less safe.
I also have preliminary scripts to make this into an autopackagetest
using loop mounts.

At the moment though, udisks2 API users are a bit broken e.g. "Disks"
gui utility most importantly.

If there is an urgent desire to revert this harmless by-default patch,
I can stop using UDisks2 api in usb-creator altogether and instead use
something like pyparted or just manual set of low-level commands
(wipefs, mkfs, parted...)

--
Regards,

Dimitri.