[blivet/anaconda][master/rhel7-branch] DASD storage code re-write (#1001070, #859997)

Peter Oberparleiter oberpar at linux.vnet.ibm.com
Wed Feb 12 09:20:54 UTC 2014


On 12.02.2014 00:01, Samantha N. Bueno wrote:
> -- The anaconda patches add logic such that upon entering the storage
>    spoke, if (a) you're on s390x and (b) you've got unformatted DASDs,
>    a dialog box pops up to warn the user and give them the option of
>    running dasdfmt against them (or opting not to and just going back to
>    the storage spoke).

Given that formatting a DASD can take a lot of time depending on its
size (minutes to hours) would it be possible to add a progress indicator
to the dialog? Running dasdfmt with command line option -P causes it to
provide continuous formatting progress updates on stdout that could be
parsed by a calling script:

cyl     1 of   100 |    1%
cyl     2 of   100 |    2%
cyl     3 of   100 |    3%
cyl     4 of   100 |    4%
...


Regards,
  Peter Oberparleiter

-- 
Peter Oberparleiter
Linux on System z Development - IBM Germany



More information about the anaconda-patches mailing list