Searched defs:zfs (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/pyzfs/common/
H A Dgroupspace.py25 import zfs.userspace namespace
27 do_groupspace = zfs.userspace.do_userspace
H A Dunallow.py25 import zfs.allow namespace
27 do_unallow = zfs.allow.do_allow
H A Dtable.py25 import zfs.util namespace
29 __repr__ = zfs.util.default_repr
H A Dholds.py25 """This module implements the "zfs holds" subcommand.
26 The only public interface is the zfs.holds.do_holds() function."""
32 import zfs.util namespace
33 import zfs.dataset namespace
34 import zfs.table namespace
36 _ = zfs.util._
39 """Implements the "zfs holds" subcommand."""
44 parser.exit("zfs: error: " + msg)
50 parser = optparse.OptionParser(usage=u, prog="zfs")
64 t = zfs
[all...]
H A Duserspace.py25 """This module implements the "zfs userspace" and "zfs groupspace" subcommands.
26 The only public interface is the zfs.userspace.do_userspace() function."""
34 import zfs.util namespace
35 import zfs.ioctl namespace
36 import zfs.dataset namespace
37 import zfs.table namespace
39 _ = zfs.util._
134 v[field] = zfs.util.nicenum(value)
137 """Implements the "zfs userspac
[all...]
H A Dallow.py26 """This module implements the "zfs allow" and "zfs unallow" subcommands.
27 The only public interface is the zfs.allow.do_allow() function."""
29 import zfs.util namespace
30 import zfs.dataset namespace
37 _ = zfs.util._
44 __repr__ = zfs.util.default_repr
48 from zfs.ioctl.get_fsacl()."""
138 # perms is not set if we are doing a "zfs unallow <who> <fs>" to
222 diff=_("Allows lookup of paths within a dataset,\n\t\t\t\tgiven an object number. Ordinary users need this\n\t\t\t\tin order to use zfs dif
[all...]
H A Ddataset.py29 import zfs.ioctl namespace
30 import zfs.util namespace
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
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dzfs_link.c33 #include <sys/fs/zfs.h>
35 /* zfs name info */
37 static int zfs(di_minor_t minor, di_node_t node);
44 TYPE_EXACT | DRV_EXACT, ILEVEL_0, zfs,
50 * The zfs control node looks like this:
51 * /dev/zfs -> /devices/pseudo/zfs@0:zfs
54 zfs(di_minor_t minor, di_node_t node) function
/illumos-gate/usr/src/cmd/pyzfs/
H A Dpyzfs.py34 import zfs.util namespace
35 import zfs.ioctl namespace
40 """This is the main script for doing zfs subcommands. It doesn't know
41 what subcommands there are, it just looks for a module zfs.<subcommand>
53 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:]))
56 # import zfs.<subcommand>
57 # subfunc = zfs.<subcommand>.do_<subcommand>
60 __import__("zfs." + subcmd)
61 submod = getattr(zfs, subcm
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dlibi386.h32 * in bootstrap.h and also with struct zfs_devdesc for zfs
58 } zfs; member in union:i386_devdesc::__anon281
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dzone.c41 const char *rctls, size_t rctlsz, const char *zfs, size_t zfssz,
55 zd.zfsbuf = zfs;
40 zone_create(const char *name, const char *root, const struct priv_set *privs, const char *rctls, size_t rctlsz, const char *zfs, size_t zfssz, int *extended_error, int match, int doi, const bslabel_t *label, int flags) argument
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c50 * from the "zfs" command and modified to better suit this library's
84 * zfs file share info.
209 * compares the mountpoint on two zfs file systems handles.
408 * called "zfs".
419 * we check to see if the "zfs" group exists. Since this
421 * parent. This is to make sure the zfs group has been created
430 ret = sa_set_group_attr(group, "zfs", "true");
447 * ZFS shares will be in a subgroup of the "zfs" master group. This
450 * that. The "zfs" group will exist before we get here, but we make
461 sa_group_t zfs; local
1210 char *zfs; local
[all...]
H A Dlibsharecore.c838 * Use a "zfs" tag since that will make sure nothing
844 set_node_attr(parent_node, "zfs", "true");
846 set_node_attr(child_node, "zfs", "true");
1483 * share. If zfs, we need a zfs group.
1498 * occur out of a "zfs set
1502 * will then cause the zfs
1516 group = sa_get_group(handle, "zfs");
1519 "zfs", &err);
1525 "zfs");
1963 char *zfs; local
[all...]
H A Dlibshare.c584 if (fstype != NULL && strcmp(fstype, "zfs") == 0) {
668 xmlChar *zfs; local
674 zfs = xmlGetProp(parent, (xmlChar *)"zfs");
675 if (zfs != NULL) {
676 xmlFree(zfs);
1028 legacy |= sa_get_zfs_shares(handle, "zfs");
1723 char *zfs; local
1727 zfs = sa_get_group_attr(group, "zfs");
2782 int zfs = 0; local
[all...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c528 * enable_all_groups in order to simplify regular and subgroup (zfs)
595 char *zfs = NULL; local
649 zfs = sa_get_group_attr(group, "zfs");
657 enable_group(group, zfs == NULL ? updateproto : NULL,
659 if (zfs != NULL)
660 sa_free_attr_string(zfs);
671 zfs = sa_get_group_attr(group, "zfs");
674 if (zfs
2171 char *zfs = NULL; local
2413 char *zfs = NULL; local
5402 char *zfs; local
5441 int zfs = 0; local
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1757 char *zfs; local
1761 zfs = sa_get_group_attr(parent, "zfs");
1762 if (zfs != NULL) {
1763 sa_free_attr_string(zfs);
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c669 char *zfs; local
672 zfs = sa_get_group_attr(parent, "zfs");
673 if (zfs != NULL) {
674 sa_free_attr_string(zfs);
1719 * one specified. Need to check zfs sub-groups as well as the top
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c1402 BAM_DPRINTF(("%s: zfs menu_root=%s\n", fcn, menu_root));
3995 if (strncmp(vfs.f_basetype, "zfs", strlen("zfs")) == 0) {
5606 char *zfs; local
5628 ufs = zfs = lu = NULL;
5649 if (zfs == NULL &&
5652 zfs = s_strdup(tmpsign);
5656 BAM_DPRINTF(("%s: existing primary signs: zfs=%s ufs=%s lu=%s\n", fcn,
5657 zfs ? zfs
5697 char *zfs; local
[all...]

Completed in 236 milliseconds