Lines Matching defs:dataset
342 "\t [-R [-X dataset[,dataset]...]] <snapshot>\n"
546 (void) fprintf(fp, gettext("\nEach dataset is of the form: "
547 "pool/[dataset/]*dataset[@name]\n"));
760 zfs_mount_and_share(libzfs_handle_t *hdl, const char *dataset, zfs_type_t type)
765 zhp = zfs_open(hdl, dataset, type);
783 * If the user doesn't want the dataset automatically mounted, then
813 * Given an existing dataset, create a writable copy whose initial contents
814 * are the same as the source. The newly created dataset maintains a
856 (void) fprintf(stderr, gettext("missing source dataset "
861 (void) fprintf(stderr, gettext("missing target dataset "
870 /* open the source dataset */
879 * Now create the ancestors of the target dataset. If the
1026 * Create a new dataset. This command can be used to create filesystems
1243 * Now create the ancestors of target dataset. If the target
1330 * Destroys the given dataset. By default, it will unmount any filesystems,
1331 * and refuse to destroy a dataset that has any dependents. A dependent can
1694 (void) fprintf(stderr, gettext("missing dataset argument\n"));
1815 /* Open the given dataset */
1969 fnvlist_add_string(list, "dataset", ds);
1998 * Invoked to display the properties for a single dataset.
2346 * of a dataset (ex. 'zfs get -t snapshot refer <dataset>').
2401 * For each dataset specified on the command line, inherit the given property
2405 * local modifications for each dataset.
2421 * are not valid for this type of dataset.
2475 (void) fprintf(stderr, gettext("missing dataset argument\n"));
3423 (void) fprintf(stderr, gettext("missing dataset name\n"));
3666 * Given a dataset and a list of fields, print out all the properties according
3826 * Generic callback function to list a dataset or snapshot.
3981 * of the current dataset (ex. 'zfs list -t snapshot <dataset>').
3991 * normally include the name of the dataset. For 'zfs list', we always
4031 * Renames the given dataset to another of the same type.
4074 (void) fprintf(stderr, gettext("missing source dataset "
4079 (void) fprintf(stderr, gettext("missing target dataset "
4101 (void) fprintf(stderr, gettext("source dataset for recursive "
4242 "dataset or with respect to redacted dataset\n"));
4250 "snapshot; full dataset names required\n"));
4272 * since then and making it the active dataset. If more recent snapshots exist,
4409 (void) fprintf(stderr, gettext("missing dataset argument\n"));
4421 /* open the parent dataset */
4497 int ds_start = -1; /* argv idx of first dataset arg */
4528 (void) fprintf(stderr, gettext("missing dataset "
4534 /* validate argument order: prop=val args followed by dataset args */
4548 (void) fprintf(stderr, gettext("missing dataset name(s)\n"));
4687 * a linear search, even if executed for each dataset,
4759 "not a valid non-root dataset name"
4885 "dataset exclusion (-X) on a non-recursive "
4936 "specify the dataset with partially-received "
5208 /* zfs recv -e (use "tail" name) implies -d (remove dataset "head") */
5887 str = gettext("Allows lookup of paths within a dataset;"
6002 const char *dataset;
6120 opts->dataset = munge_args(argc, argv, un, 3, &opts->perms);
6129 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
6134 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
6140 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
6143 opts->dataset = argv[argc-1];
6145 opts->dataset = munge_args(argc, argv, un, 3, &opts->perms);
6637 /* try to open the dataset */
6638 if ((zhp = zfs_open(g_zfs, opts.dataset, ZFS_TYPE_FILESYSTEM |
6640 (void) fprintf(stderr, "Failed to open dataset: %s\n",
6641 opts.dataset);
6870 * Generic callback function to list a dataset or snapshot.
7113 * Share or mount a dataset.
7130 * Check to make sure we can mount/share this dataset. If we
7142 "dataset is exported to a local zone\n"), cmdname,
7227 * datasets that have 'noauto' set. Sharing a dataset with
7529 gettext("no dataset provided\n"));
7858 * the special type (dataset name), and walk the result in
8291 "full dataset paths"));
8306 *strpbrk(expbuf, "@#") = '\0'; /* dataset name in buf */
8345 "new bookmark's dataset";
8360 err_msg = "dataset does not exist";
8680 gettext("Missing dataset argument or -a option\n"));
8686 gettext("Cannot specify dataset with -a option\n"));
8768 (void) fprintf(stderr, gettext("Missing dataset argument\n"));
9285 * Add or delete the given dataset to/from the namespace.
9330 * Attach/detach the given dataset to/from the given jail
9367 * Attach the given dataset to the given jail
9378 * Detach the given dataset from the given jail