Mailinglist Archive: yast-commit (595 mails)

< Previous Next >
[yast-commit] r53759 - in /trunk/storage: package/yast2-storage.changes storage/src/include/ep-hd.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Mon, 01 Dec 2008 09:16:10 -0000
  • Message-id: <20081201091610.47FD9265DC@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Mon Dec 1 10:16:09 2008
New Revision: 53759

URL: http://svn.opensuse.org/viewcvs/yast?rev=53759&view=rev
Log:
- fixed check before execution of smartctl (bnc #445049)

Modified:
trunk/storage/package/yast2-storage.changes
trunk/storage/storage/src/include/ep-hd.ycp

Modified: trunk/storage/package/yast2-storage.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=53759&r1=53758&r2=53759&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Mon Dec 1 10:16:09 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Dec 01 10:14:34 CET 2008 - aschnell@xxxxxxx
+
+- fixed check before execution of smartctl (bnc #445049)
+
+-------------------------------------------------------------------
Fri Nov 28 17:07:48 CET 2008 - aschnell@xxxxxxx

- show partitions/logical volumes tab in expert partitioner per

Modified: trunk/storage/storage/src/include/ep-hd.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd.ycp?rev=53759&r1=53758&r2=53759&view=diff
==============================================================================
--- trunk/storage/storage/src/include/ep-hd.ycp (original)
+++ trunk/storage/storage/src/include/ep-hd.ycp Mon Dec 1 10:16:09 2008
@@ -235,7 +235,7 @@
{
map<string, map> target_map = Storage::GetTargetMap();
map disk = target_map[disk_device]:$[];
- if (disk["type"]:`CT_UNKNOWN != `CT_DISK ||
substring(disk_device, 9) == "/dev/dasd")
+ if (disk["type"]:`CT_UNKNOWN != `CT_DISK ||
substring(disk_device, 0, 9) == "/dev/dasd")
{
Popup::Error(_("Smart is not available for this disk."));
break;
@@ -248,7 +248,7 @@
{
map<string, map> target_map = Storage::GetTargetMap();
map disk = target_map[disk_device]:$[];
- if (disk["type"]:`CT_UNKNOWN != `CT_DISK ||
substring(disk_device, 9) == "/dev/dasd")
+ if (disk["type"]:`CT_UNKNOWN != `CT_DISK ||
substring(disk_device, 0, 9) == "/dev/dasd")
{
Popup::Error(_("HD Parm is not available for this disk."));
break;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages