Class: ZfsMgmt::ZfsMgr::Send

Inherits:
Thor
  • Object
show all
Defined in:
lib/zfs_mgmt/zfs_mgr/send.rb

Overview

zfs send stuff

Instance Method Summary collapse

Instance Method Details

#allObject



34
35
36
37
38
39
40
41
# File 'lib/zfs_mgmt/zfs_mgr/send.rb', line 34

def all()
  ZfsMgmt.set_log_level(options[:loglevel])
  ZfsMgmt.global_options = options
  lock = ZfsMgmt.lock(options)

  ZfsMgmt.zfs_send_all(options)
  ZfsMgmt.unlock(lock)
end