[yast-commit] r55527 - /trunk/storage/storage/src/include/lvm_lib.ycp
![](https://seccdn.libravatar.org/avatar/ca8d90c49f67ad61282a8e30ff67a25e.jpg?s=120&d=mm&r=g)
Author: aschnell Date: Mon Feb 16 12:00:58 2009 New Revision: 55527 URL: http://svn.opensuse.org/viewcvs/yast?rev=55527&view=rev Log: - removed two now unused functions Modified: trunk/storage/storage/src/include/lvm_lib.ycp Modified: trunk/storage/storage/src/include/lvm_lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/lvm_lib.ycp?rev=55527&r1=55526&r2=55527&view=diff ============================================================================== --- trunk/storage/storage/src/include/lvm_lib.ycp (original) +++ trunk/storage/storage/src/include/lvm_lib.ycp Mon Feb 16 12:00:58 2009 @@ -44,43 +44,4 @@ return( lvm_vg ); }; - -////////////////////////////////////////////////////////////////////// -// Let the User create a new Volume group: open dialog ... -// return: the changed targetMap and lvm_vgs and cancelled -// used by autoyast -define map addVolumeGroup( map vg, map<string,map> targetMap, list lvm_vgs ) - ``{ - boolean cancelled = true; - string current_vg = ""; - integer pesize = 0; - - - // has the user cancelled the dialog? - if( size(vg)>0 ) - { - // Now the user has created a new vg: make it the current vg - current_vg = vg["vgname"]:"error"; - pesize = vg["pesize"]:0; - - cancelled = !Storage::CreateLvmVg( current_vg, pesize, - vg["lvm2"]:true ); - } - else - { - cancelled = true; - } - - return( $[ "cancelled" : cancelled, "vg" : current_vg ]); - }; - -////////////////////////////////////////////////////////////////////// -// Remove the specified volume group -// return: boolean if removal was succesful - -define boolean removeVolumeGroup( string current_vg ) - ``{ - return( Storage::DeleteLvmVg( current_vg )); - }; - } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org