Class: Getch::FileSystem::Ext4::Lvm::Device
- Inherits:
-
Object
- Object
- Getch::FileSystem::Ext4::Lvm::Device
- Defined in:
- lib/getch/filesystem/ext4/lvm/device.rb
Instance Method Summary collapse
-
#initialize ⇒ Device
constructor
A new instance of Device.
Constructor Details
#initialize ⇒ Device
Returns a new instance of Device.
10 11 12 13 14 15 16 17 |
# File 'lib/getch/filesystem/ext4/lvm/device.rb', line 10 def initialize @args = { start: true, root: true } @vg = OPTIONS[:vg_name] ||= 'vg0' @lv_root = "/dev/#{@vg}/root" @lv_swap = "/dev/#{@vg}/swap" @lv_home = @home_disk ? "/dev/#{@vg}/home" : nil x end |