Author: aschnell Date: Thu Aug 13 14:05:21 2009 New Revision: 58336 URL: http://svn.opensuse.org/viewcvs/yast?rev=58336&view=rev Log: - allow swap as mount point for loop devices Modified: trunk/storage/storage/src/include/custom_part_lib.ycp Modified: trunk/storage/storage/src/include/custom_part_lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_lib.ycp?rev=58336&r1=58335&r2=58336&view=diff ============================================================================== --- trunk/storage/storage/src/include/custom_part_lib.ycp (original) +++ trunk/storage/storage/src/include/custom_part_lib.ycp Thu Aug 13 14:05:21 2009 @@ -364,7 +364,7 @@ // error popup Popup::Error(_("Only swap devices may have swap as mount point.")); } - else if (mount != "swap" || part["type"]:`unknown == `loop) + else if (mount != "swap") // || part["type"]:`unknown == `loop) { // check if the mount point is already in use foreach( string disk, map diskinfo, targetMap, ``{ @@ -377,7 +377,7 @@ }); }); - if( allowed == false && mount!="swap" ) + if (allowed == false) // && mount!="swap" ) { // error popup text Popup::Error(_("This mount point is already in use. Select a different one.")); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org