Sha256: 48704ecc5a27ec16d2bf8bd0ccd02d562717d36dabe23814f9e6ed318e42e4d5

Contents?: true

Size: 510 Bytes

Versions: 5

Compression:

Stored size: 510 Bytes

Contents

module Getch
  module FileSystem
    module Lvm
      class Mount < Getch::FileSystem::Lvm::Device
        def initialize
          super
          @mount = Getch::FileSystem::Mount.new
          @state = Getch::States.new
        end

        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
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
getch-0.1.6 lib/getch/filesystem/lvm/mount.rb
getch-0.1.5 lib/getch/filesystem/lvm/mount.rb
getch-0.1.3 lib/getch/filesystem/lvm/mount.rb
getch-0.1.2 lib/getch/filesystem/lvm/mount.rb
getch-0.1.1 lib/getch/filesystem/lvm/mount.rb