class Getch::FileSystem::Ext4::Encrypt::Mount

Public Class Methods

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