Lines Matching defs:mountpoint
408 /* Set the mountpoint property for the root dataset */
650 * If the mountpoint property isn't specified in this shared
653 * implicitly set its mountpoint to its own name.
674 char mountpoint[MAXPATHLEN];
677 (void) strlcpy(mountpoint,
679 sizeof (mountpoint));
681 (void) snprintf(mountpoint,
682 sizeof (mountpoint), "/%s",
687 mountpoint) != 0) {
3377 char mountpoint[MAXPATHLEN];
3409 * Get the mountpoint and source properties of the existing dataset.
3413 if (zfs_prop_get_persistent(zhp, ZFS_PROP_MOUNTPOINT, mountpoint,
3414 sizeof (mountpoint), &sourcetype, source, sizeof (source),
3417 "failed to get mountpoint for (%s): %s\n"),
3423 * Workaround for 6668667 where a mountpoint property of "/" comes
3426 if (strcmp(mountpoint, "") == 0) {
3427 (void) snprintf(mountpoint, sizeof (mountpoint), "/");
3431 * Figure out what to set as the mountpoint for the new dataset.
3432 * If the source of the mountpoint property is local or received,
3433 * use the mountpoint value itself. Otherwise, remove it from the
3438 * Since we got the persistent mountpoint value above,
3446 mountpoint) != 0) {
3456 "failed to remove mountpoint from "