Sha256: a219804580a26965364433a050f4f0022d6121beeb8d1c7b82bacee6cf0c57d2

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

require 'fileutils'

module Getch
  module FileSystem
    module Ext4
      module Encrypt
        class Mount < Getch::FileSystem::Ext4::Encrypt::Device
          def initialize
            super
            @mount = Getch::FileSystem::Mount.new
            @state = Getch::States.new()
          end

          def run
            return if STATES[:mount]
            @mount.swap(@dev_swap)
            @mount.root(@luks_root)
            @mount.boot(@dev_boot)
            @mount.esp(@dev_esp)
            @mount.home(@luks_home)
            @state.mount
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
getch-0.1.5 lib/getch/filesystem/ext4/encrypt/mount.rb
getch-0.1.3 lib/getch/filesystem/ext4/encrypt/mount.rb
getch-0.1.2 lib/getch/filesystem/ext4/encrypt/mount.rb
getch-0.1.1 lib/getch/filesystem/ext4/encrypt/mount.rb