Module: Yast::PartitioningLvmLibInclude
- Defined in:
- ../../src/include/partitioning/lvm_lib.rb
Instance Method Summary (collapse)
-
- (Object) get_vgs(targetMap)
//////////////////////////////////////////////////////////////////// get a list of all volume groups in the targetMap.
- - (Object) initialize_partitioning_lvm_lib(include_target)
Instance Method Details
- (Object) get_vgs(targetMap)
//////////////////////////////////////////////////////////////////// get a list of all volume groups in the targetMap
45 46 47 48 49 50 51 52 53 54 55 56 |
# File '../../src/include/partitioning/lvm_lib.rb', line 45 def get_vgs(targetMap) targetMap = deep_copy(targetMap) lvm_vg = [] Builtins.foreach(targetMap) do |dev, devmap| if Ops.get_symbol(devmap, "type", :CT_UNKNOWN) == :CT_LVM # add a found volume group lvm_vg = Builtins.add(lvm_vg, Builtins.substring(dev, 5)) end end deep_copy(lvm_vg) end |
- (Object) initialize_partitioning_lvm_lib(include_target)
38 39 40 |
# File '../../src/include/partitioning/lvm_lib.rb', line 38 def initialize_partitioning_lvm_lib(include_target) textdomain "storage" end |