Class: MountFs::Minimal

Inherits:
Object
  • Object
show all
Includes:
NiTo
Defined in:
lib/mountfs.rb

Direct Known Subclasses

Encrypt, Lvm, Zfs

Instance Method Summary collapse

Methods included from NiTo

cp, echo, echo_a, grep?, mkdir, mount, mount?, mv, rm, search_proc_swaps, sed, sh, swapoff, swapoff_dm, touch, umount

Constructor Details

#initialize(devs, options) ⇒ Minimal

Returns a new instance of Minimal.



9
10
11
12
13
14
15
16
17
# File 'lib/mountfs.rb', line 9

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