Lines Matching defs:zfs
29 import zfs.ioctl
30 import zfs.util
33 _ = zfs.util._
44 __repr__ = zfs.util.default_repr
48 from zfs.ioctl.get_proptable, which should match the
68 "zfs allow"."""
72 for name, t in zfs.ioctl.get_proptable().iteritems():
91 zfs.ioctl which actually interface with the kernel to manipulate
98 __repr__ = zfs.util.default_repr
107 props is the property settings dict from zfs.ioctl.next_dataset.
122 e = zfs.util.ZFSError(errno.EINVAL,
128 props = zfs.ioctl.dataset_props(name)
163 zfs.ioctl.next_dataset(self.name, False, cookie)
179 d = zfs.ioctl.userspace_many(self.name, prop)
186 return zfs.ioctl.userspace_upgrade(self.name)
189 """Add to the "zfs allow"-ed permissions on this Dataset.
197 return zfs.ioctl.set_fsacl(self.name, un, d)
200 """Get the "zfs allow"-ed permissions on the Dataset.
204 return zfs.ioctl.get_fsacl(self.name)
211 return zfs.ioctl.get_holds(self.name)
216 raise zfs.util.ZFSError(errno.EINVAL,
222 except zfs.util.ZFSError, e:
232 except zfs.util.ZFSError, e: