Class: Getch::FileSystem::Zfs::Minimal::Mount
- Inherits:
-
Object
- Object
- Getch::FileSystem::Zfs::Minimal::Mount
- Defined in:
- lib/getch/filesystem/zfs/minimal/mount.rb
Instance Method Summary collapse
-
#initialize ⇒ Mount
constructor
A new instance of Mount.
- #x ⇒ Object
Constructor Details
#initialize ⇒ Mount
Returns a new instance of Mount.
10 11 12 |
# File 'lib/getch/filesystem/zfs/minimal/mount.rb', line 10 def initialize x end |
Instance Method Details
#x ⇒ Object
14 15 16 17 18 |
# File 'lib/getch/filesystem/zfs/minimal/mount.rb', line 14 def x MountFs::Zfs.new(DEVS, OPTIONS) #exec("zpool import -N -d #{@import} -R #{MOUNTPOINT} #{@pool_name}") #exec("zpool import -f -N -d #{@import} -R #{MOUNTPOINT} #{@boot_pool_name}") if @dev_boot end |