+ /**
+ * Renames a Zvol
+ *
+ * @param string $newname New name of the Dataset
+ * @return void
+ * @access public
+ */
+ public function rename($newname) {
+ $cmd = "zfs rename -p " . $this->name . " " . $newname . " 2>&1";
+ $this->exec($cmd,$out,$res);
+ $this->name = $newname;
+ }
+
+ /**
+ * Clears a previously set proporty and specifies that it should be
+ * inherited from it's parent.
+ *
+ * @param string $property Name of the property to inherit.
+ * @return void
+ * @access public
+ */
+ public function inherit($property) {
+ $cmd = "zfs inherit " . $property . " " . $this->name . " 2>&1";
+ $this->exec($cmd,$out,$res);
+ $this->updateProperty($property);
+ }
+