Searched refs:shareopts (Results 1 - 4 of 4) sorted by relevance

/freebsd-10-stable/cddl/compat/opensolaris/misc/
H A Dfsshare.c121 translate_opts(const char *shareopts) argument
129 strlcpy(oldopts, shareopts, sizeof(oldopts));
150 fsshare_main(const char *file, const char *mountpoint, const char *shareopts, argument
215 translate_opts(shareopts));
248 fsshare(const char *file, const char *mountpoint, const char *shareopts) argument
251 return (fsshare_main(file, mountpoint, shareopts, 1));
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_changelist.c166 char shareopts[ZFS_MAXPROPLEN]; local
231 shareopts, sizeof (shareopts), NULL, NULL, 0,
232 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0));
235 shareopts, sizeof (shareopts), NULL, NULL, 0,
236 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0));
H A Dlibzfs_mount.c734 char shareopts[ZFS_MAXPROPLEN]; local
749 shareopts, sizeof (shareopts), &sourcetype, sourcestr,
751 strcmp(shareopts, "off") == 0)
789 shareopts, sourcestr, zhp->zfs_name) != SA_OK) {
819 if (strcmp(shareopts, "on") == 0)
822 error = fsshare(ZFS_EXPORTS_PATH, mountpoint, shareopts);
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c5825 char shareopts[ZFS_MAXPROPLEN]; local
5868 verify(zfs_prop_get(zhp, ZFS_PROP_SHARENFS, shareopts,
5869 sizeof (shareopts), NULL, NULL, 0, B_FALSE) == 0);
5873 if (op == OP_SHARE && strcmp(shareopts, "off") == 0 &&
5888 * shareopts is non-legacy but the mountpoint is legacy, we
5953 * shareopts are appropriate for auto management. If the
5965 (shared_nfs && strcmp(shareopts, "on") == 0 &&
5968 strcmp(shareopts, "off") == 0)) {

Completed in 128 milliseconds