* @access private
*/
private $name;
- /**
+
+ /**
* Mountpoint of the Dataset
*
* @var string $mountPoint
$this->updateProperty($property);
}
+ /**
+ * Upgrades the Dataset to latest filesystem version
+ *
+ * @return void
+ * @access public
+ */
+ public function upgrade() {
+ $cmd = "zfs upgrade " . $this->name . " 2>&1";
+ $this->exec($cmd,$out,$res);
+ }
+
/**
* Helper function to execute a command and throw an exception on error
* (requires stderr redirected to stdout for proper exception message).