[yast-commit] r60052 - in /trunk/storage: package/yast2-storage.changes storage/src/modules/Storage.ycp
Author: fehr Date: Thu Dec 10 15:36:41 2009 New Revision: 60052 URL: http://svn.opensuse.org/viewcvs/yast?rev=60052&view=rev Log: make removal of loop based files work again (#480738) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/Storage.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=60052&r1=60051&r2=60052&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Thu Dec 10 15:36:41 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Dec 10 15:34:07 CET 2009 - fehr@suse.de + +- make removal of loop based files work again (#480738) + +------------------------------------------------------------------- Wed Dec 09 17:44:27 CET 2009 - aschnell@suse.de - use getFreeInfo from libstorage to detect home partitions Modified: trunk/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=60052&r1=60051&r2=60052&view=diff ============================================================================== --- trunk/storage/storage/src/modules/Storage.ycp (original) +++ trunk/storage/storage/src/modules/Storage.ycp Thu Dec 10 15:36:41 2009 @@ -734,6 +734,12 @@ ``(p["device"]:""==device )); pa = part[0]:$[]; } + if( size(pa)==0 && search(device, "/dev/mapper/")==0 ) + { + part = filter( map p, tg["/dev/loop","partitions"]:[], + ``(p["device"]:""==device )); + pa = part[0]:$[]; + } if( size(pa)>0 ) ret = add( ret, pa ); }); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
fehr@svn.opensuse.org