[yast-commit] r60165 - in /trunk/s390: VERSION package/yast2-s390.changes src/modules/DASDController.ycp
Author: mzugec Date: Mon Dec 21 17:21:05 2009 New Revision: 60165 URL: http://svn.opensuse.org/viewcvs/yast?rev=60165&view=rev Log: dasd: activation non-formated devices (bnc#446998) Modified: trunk/s390/VERSION trunk/s390/package/yast2-s390.changes trunk/s390/src/modules/DASDController.ycp Modified: trunk/s390/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/s390/VERSION?rev=60165&r1=60164&r2=60165&view=diff ============================================================================== --- trunk/s390/VERSION (original) +++ trunk/s390/VERSION Mon Dec 21 17:21:05 2009 @@ -1 +1 @@ -2.19.1 +2.19.2 Modified: trunk/s390/package/yast2-s390.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/s390/package/yast2-s390.changes?rev=60165&r1=60164&r2=60165&view=diff ============================================================================== --- trunk/s390/package/yast2-s390.changes (original) +++ trunk/s390/package/yast2-s390.changes Mon Dec 21 17:21:05 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Dec 21 17:20:19 CET 2009 - mzugec@suse.cz + +- dasd: activation non-formated devices (bnc#446998) +- 2.19.2 + +------------------------------------------------------------------- Tue Dec 1 14:10:04 CET 2009 - mzugec@suse.cz - fixed desktop files (bnc#559343) Modified: trunk/s390/src/modules/DASDController.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/s390/src/modules/DASDController.ycp?rev=60165&r1=60164&r2=60165&view=diff ============================================================================== --- trunk/s390/src/modules/DASDController.ycp (original) +++ trunk/s390/src/modules/DASDController.ycp Mon Dec 21 17:21:05 2009 @@ -426,14 +426,14 @@ 1, diag ? 1 : 0 ); - y2milestone ("Running command %1", command); integer ret = (integer)SCR::Execute (.target.bash, command); + y2milestone ("Running command %1 with exit code %2", command, ret); if (ret == 5){ - if (Popup::ContinueCancel(_("Device is not DASD. Format device?"))){ + if (Popup::ContinueCancel(_("Device is unformatted. Format device?"))){ string cmd = sformat("ls /sys/bus/ccw/devices/%1/block/|tr -d '\n'", channel); map<string, any> disk = (map<string, any>)SCR::Execute(.target.bash_output, cmd); if (disk["exit"]:-1 == 0 && size(disk["stdout"]:"")>0){ - FormatDisks ([ disk["stdout"]:"" ], 1, true, true); + FormatDisks ([ sformat("/dev/%1", disk["stdout"]:"") ], 1, true, true); // ReloadDASDDialog (); ActivateDisk(channel, diag); } else { @@ -491,7 +491,7 @@ if (! write_vl) additional_param = "--no-label"; string command = sformat ( - "/sbin/dasdfmt -Y -P %2 -b 4096 -y -m 1 %3 %1", disks_param, par, + "/sbin/dasdfmt -P %2 -b 4096 -y -m 1 %3 %1", disks_param, par, additional_param); y2milestone ("Running command %1", command); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mzugec@svn.opensuse.org