class Getch::FileSystem::Lvm::Encrypt::Mount

Public Class Methods

new() click to toggle source
# File lib/getch/filesystem/lvm/encrypt/mount.rb, line 6
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/encrypt/mount.rb, line 12
def run
  return if STATES[:mount]
  @mount.root(@lv_root)
  @mount.boot(@dev_boot)
  @mount.esp(@dev_esp)
  @mount.home(@lv_home)
  @state.mount
end