Class: MountFs::Minimal
Instance Method Summary collapse
-
#initialize(devs, options) ⇒ Minimal
constructor
A new instance of Minimal.
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, ) @efi = devs[:efi] ||= nil @boot = devs[:boot] ||= nil @swap = devs[:swap] ||= nil @root = devs[:root] ||= nil @home = devs[:home] ||= nil @mountpoint = [:mountpoint] x end |