Class: Mkfs::Root

Inherits:
Object
  • Object
show all
Defined in:
lib/mkfs.rb

Direct Known Subclasses

Encrypt, Lvm, Zfs

Instance Method Summary collapse

Constructor Details

#initialize(devs, options) ⇒ Root

Returns a new instance of Root.



21
22
23
24
25
26
27
28
29
# File 'lib/mkfs.rb', line 21

def initialize(devs, options)
  @efi = devs[:efi] ||= nil
  @boot = devs[:boot] ||= nil
  @swap = devs[:swap] ||= nil
  @root = devs[:root] ||= nil
  @home = devs[:home] ||= nil
  @fs = options[:fs]
  x
end