• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/cmd/zfs/

Lines Matching defs:dataset

523 		(void) fprintf(fp, gettext("\nEach dataset is of the form: "
524 "pool/[dataset/]*dataset[@name]\n"));
758 zfs_mount_and_share(libzfs_handle_t *hdl, const char *dataset, zfs_type_t type)
763 zhp = zfs_open(hdl, dataset, type);
781 * If the user doesn't want the dataset automatically mounted, then
811 * Given an existing dataset, create a writable copy whose initial contents
812 * are the same as the source. The newly created dataset maintains a
854 (void) fprintf(stderr, gettext("missing source dataset "
859 (void) fprintf(stderr, gettext("missing target dataset "
868 /* open the source dataset */
877 * Now create the ancestors of the target dataset. If the
1024 * Create a new dataset. This command can be used to create filesystems
1240 * Now create the ancestors of target dataset. If the target
1327 * Destroys the given dataset. By default, it will unmount any filesystems,
1328 * and refuse to destroy a dataset that has any dependents. A dependent can
1684 (void) fprintf(stderr, gettext("missing dataset argument\n"));
1805 /* Open the given dataset */
1905 * Invoked to display the properties for a single dataset.
2217 * of a dataset (ex. 'zfs get -t snapshot refer <dataset>').
2267 * For each dataset specified on the command line, inherit the given property
2271 * local modifications for each dataset.
2287 * are not valid for this type of dataset.
2341 (void) fprintf(stderr, gettext("missing dataset argument\n"));
3291 (void) fprintf(stderr, gettext("missing dataset name\n"));
3507 * Given a dataset and a list of fields, print out all the properties according
3585 * Generic callback function to list a dataset or snapshot.
3723 * of the current dataset (ex. 'zfs list -t snapshot <dataset>').
3733 * normally include the name of the dataset. For 'zfs list', we always
3759 * Renames the given dataset to another of the same type.
3803 (void) fprintf(stderr, gettext("missing source dataset "
3808 (void) fprintf(stderr, gettext("missing target dataset "
3830 (void) fprintf(stderr, gettext("source dataset for recursive "
3957 "dataset or with respect to redacted dataset\n"));
3965 "snapshot; full dataset names required\n"));
3983 * since then and making it the active dataset. If more recent snapshots exist,
4120 (void) fprintf(stderr, gettext("missing dataset argument\n"));
4132 /* open the parent dataset */
4208 int ds_start = -1; /* argv idx of first dataset arg */
4229 (void) fprintf(stderr, gettext("missing dataset "
4235 /* validate argument order: prop=val args followed by dataset args */
4249 (void) fprintf(stderr, gettext("missing dataset name(s)\n"));
4575 "specify the dataset with partially-received "
4830 /* zfs recv -e (use "tail" name) implies -d (remove dataset "head") */
5511 str = gettext("Allows lookup of paths within a dataset;"
5626 const char *dataset;
5744 opts->dataset = munge_args(argc, argv, un, 3, &opts->perms);
5753 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
5758 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
5764 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
5767 opts->dataset = argv[argc-1];
5769 opts->dataset = munge_args(argc, argv, un, 3, &opts->perms);
6259 /* try to open the dataset */
6260 if ((zhp = zfs_open(g_zfs, opts.dataset, ZFS_TYPE_FILESYSTEM |
6262 (void) fprintf(stderr, "Failed to open dataset: %s\n",
6263 opts.dataset);
6479 * Generic callback function to list a dataset or snapshot.
6702 * Share or mount a dataset.
6719 * Check to make sure we can mount/share this dataset. If we
6731 "dataset is exported to a local zone\n"), cmdname,
6816 * datasets that have 'noauto' set. Sharing a dataset with
7387 * the special type (dataset name), and walk the result in
7816 "full dataset paths"));
7831 *strpbrk(expbuf, "@#") = '\0'; /* dataset name in buf */
7870 "new bookmark's dataset";
7885 err_msg = "dataset does not exist";
8196 gettext("Missing dataset argument or -a option\n"));
8202 gettext("Cannot specify dataset with -a option\n"));
8284 (void) fprintf(stderr, gettext("Missing dataset argument\n"));
8744 * Attach/detach the given dataset to/from the given jail
8782 * Attach the given dataset to the given jail
8794 * Detach the given dataset from the given jail