Class: Lvm2::Hybrid
Instance Method Summary collapse
-
#initialize(devs, options) ⇒ Hybrid
constructor
A new instance of Hybrid.
- #load_datas ⇒ Object
Methods inherited from Root
Constructor Details
#initialize(devs, options) ⇒ Hybrid
Returns a new instance of Hybrid.
101 102 103 104 |
# File 'lib/lvm2.rb', line 101 def initialize(devs, ) super @luks = [:luks_name] end |
Instance Method Details
#load_datas ⇒ Object
106 107 108 109 110 |
# File 'lib/lvm2.rb', line 106 def load_datas @path_root = "/dev/mapper/root-#{@luks}" @path_cache = "/dev/mapper/cache-#{@luks}" @path_home = "/dev/mapper/home-#{@luks}" end |