Lines Matching refs:path
3878 * If they specified the full path to the snapshot, chop off
5451 char *path = argv[i];
5453 delim = strchr(path, '@');
5456 gettext("'%s' is not a snapshot\n"), path);
5460 (void) strncpy(parent, path, delim - path);
5461 parent[delim - path] = '\0';
6214 * absolute path, find the entry /etc/mnttab, verify that its a ZFS filesystem,
6218 unshare_unmount_path(int op, char *path, int flags, boolean_t is_manual)
6228 * Search for the path in /etc/mnttab. Rather than looking for the
6229 * specific path, which can be fooled by non-standard paths (i.e. ".."
6230 * or "//"), we stat() the path and search for the corresponding
6233 if (stat64(path, &statbuf) != 0) {
6235 cmdname, path, strerror(errno));
6252 "currently mounted\n"), cmdname, path);
6256 path);
6257 if ((ret = umount2(path, flags)) != 0)
6258 (void) fprintf(stderr, gettext("%s: %s\n"), path,
6265 "filesystem\n"), cmdname, path);
6276 cmdname, path, strerror(errno));
6280 "%s '%s': not a mountpoint\n"), cmdname, path);
6296 "'%s': legacy share\n"), path);
6301 "not currently shared\n"), path);
6303 ret = zfs_unshareall_bypath(zhp, path);
6515 * We have an argument, but it may be a full path or a ZFS
6626 char *dataset, *path;
6649 "<path>\n"));
6672 path = argv[1];
6684 if (mount(dataset, path, MS_OPTIONSTR | flags, MNTTYPE_ZFS,
6694 "instead.\n"), path);
6726 "<path>\n"));
6737 (void) fprintf(stderr, gettext("missing path "
6741 (void) fprintf(stderr, gettext("usage: unmount [-f] <path>\n"));