Lines Matching refs:mountpoint
246 /* Set the mountpoint property for the root dataset */
281 * Clear the mountpoint property so that the non-shared
2286 "failed to get dataset mountpoint (%s): %s\n"),
2297 * mountpoint for a zoned dataset we'll have to skip
2298 * this dataset. This is because the mountpoint is not
2942 char mountpoint[MAXPATHLEN];
2975 /* Get the mountpoint and source properties of the existing dataset */
2976 if (zfs_prop_get(zhp, ZFS_PROP_MOUNTPOINT, mountpoint,
2977 sizeof (mountpoint), &sourcetype, source, sizeof (source),
2980 "failed to get mountpoint for (%s): %s\n"),
2986 * Workaround for 6668667 where a mountpoint property of "/" comes
2989 if (strcmp(mountpoint, "") == 0) {
2990 (void) snprintf(mountpoint, sizeof (mountpoint), "/");
2994 * Figure out what to set as the mountpoint for the new dataset.
2995 * If the source of the mountpoint property is local, use the
2996 * mountpoint value itself. Otherwise, remove it from the
3003 * from the mountpoint.
3005 zhp_mountpoint = mountpoint;
3007 if (strcmp(mountpoint, ZFS_MOUNTPOINT_LEGACY) != 0 &&
3013 if (strncmp(bt->obe_altroot, mountpoint, altroot_len)
3015 if (mountpoint[altroot_len] == '/')
3016 zhp_mountpoint = mountpoint +
3018 else if (mountpoint[altroot_len] == '\0')
3019 (void) snprintf(mountpoint,
3020 sizeof (mountpoint), "/");
3036 "failed to remove mountpoint from "