Sha256: 0b2c08254695eada2add12d3919a89536ace361e1179da1c6fe8ac63fed9fdce

Contents?: true

Size: 413 Bytes

Versions: 4

Compression:

Stored size: 413 Bytes

Contents

module Getch
  module FileSystem
    module Ext4
      class Device
        def initialize
          @disk = DEFAULT_OPTIONS[:disk]
          @user = DEFAULT_OPTIONS[:username]
          @dev_boot_efi = Helpers::efi? ? "/dev/#{@disk}1" : nil
          @dev_root = "/dev/#{@disk}2"
          @dev_swap = "/dev/#{@disk}3"
          @dev_home = @user ? "/dev/#{@disk}4" : nil
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
getch-0.1.0 lib/getch/filesystem/ext4/device.rb
getch-0.0.9 lib/getch/filesystem/ext4/device.rb
getch-0.0.8 lib/getch/filesystem/ext4/device.rb
getch-0.0.7 lib/getch/filesystem/ext4/device.rb