Searched refs:shareopts (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.0-release/cddl/compat/opensolaris/misc/ |
H A D | fsshare.c | 121 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.0-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 162 char shareopts[ZFS_MAXPROPLEN]; local 227 shareopts, sizeof (shareopts), NULL, NULL, 0, 228 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); 231 shareopts, sizeof (shareopts), NULL, NULL, 0, 232 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0));
|
H A D | libzfs_mount.c | 729 char shareopts[ZFS_MAXPROPLEN]; local 754 shareopts, sizeof (shareopts), &sourcetype, sourcestr, 756 strcmp(shareopts, "off") == 0) 783 shareopts, sourcestr, zhp->zfs_name) != SA_OK) { 813 if (strcmp(shareopts, "on") == 0) 816 error = fsshare(ZFS_EXPORTS_PATH, mountpoint, shareopts);
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 5557 char shareopts[ZFS_MAXPROPLEN]; local 5600 verify(zfs_prop_get(zhp, ZFS_PROP_SHARENFS, shareopts, 5601 sizeof (shareopts), NULL, NULL, 0, B_FALSE) == 0); 5605 if (op == OP_SHARE && strcmp(shareopts, "off") == 0 && 5620 * shareopts is non-legacy but the mountpoint is legacy, we 5667 * shareopts are appropriate for auto management. If the 5679 (shared_nfs && strcmp(shareopts, "on") == 0 && 5682 strcmp(shareopts, "off") == 0)) {
|
Completed in 248 milliseconds