class Getch::FileSystem::Lvm::Mount
Public Class Methods
new()
click to toggle source
Calls superclass method
Getch::FileSystem::Lvm::Device::new
# File lib/getch/filesystem/lvm/mount.rb, line 5 def initialize super @mount = Getch::FileSystem::Mount.new @state = Getch::States.new end
Public Instance Methods
run()
click to toggle source
# File lib/getch/filesystem/lvm/mount.rb, line 11 def run return if STATES[:mount] @mount.swap(@lv_swap) @mount.root(@lv_root) @mount.boot(@dev_boot) @mount.esp(@dev_esp) @mount.home(@lv_home) @state.mount end