Lines Matching defs:dataset

420 		(void) fprintf(fp, gettext("\nEach dataset is of the form: "
421 "pool/[dataset/]*dataset[@name]\n"));
589 * Check if the dataset is mountable and should be automatically mounted.
602 * Given an existing dataset, create a writable copy whose initial contents
603 * are the same as the source. The newly created dataset maintains a
643 (void) fprintf(stderr, gettext("missing source dataset "
648 (void) fprintf(stderr, gettext("missing target dataset "
657 /* open the source dataset */
664 * Now create the ancestors of the target dataset. If the
685 * If the user doesn't want the dataset
721 * Create a new dataset. This command can be used to create filesystems
868 * Now create the ancestors of target dataset. If the target
893 * If the user doesn't want the dataset automatically mounted,
928 * Destroys the given dataset. By default, it will unmount any filesystems,
929 * and refuse to destroy a dataset that has any dependents. A dependent can
1265 (void) fprintf(stderr, gettext("missing dataset argument\n"));
1377 /* Open the given dataset */
1478 * Invoked to display the properties for a single dataset.
1829 * For each dataset specified on the command line, inherit the given property
1833 * local modifications for each dataset.
1849 * are not valid for this type of dataset.
1903 (void) fprintf(stderr, gettext("missing dataset argument\n"));
2745 (void) fprintf(stderr, gettext("missing dataset name\n"));
2949 * Given a dataset and a list of fields, print out all the properties according
3027 * Generic callback function to list a dataset or snapshot.
3165 * normally include the name of the dataset. For 'zfs list', we always
3191 * Renames the given dataset to another of the same type.
3231 (void) fprintf(stderr, gettext("missing source dataset "
3236 (void) fprintf(stderr, gettext("missing target dataset "
3252 (void) fprintf(stderr, gettext("source dataset for recursive "
3323 * since then and making it the active dataset. If more recent snapshots exist,
3437 (void) fprintf(stderr, gettext("missing dataset argument\n"));
3449 /* open the parent dataset */
3520 int ds_start = -1; /* argv idx of first dataset arg */
3540 (void) fprintf(stderr, gettext("missing dataset "
3546 /* validate argument order: prop=val args followed by dataset args */
3560 (void) fprintf(stderr, gettext("missing dataset name(s)\n"));
4634 str = gettext("Allows lookup of paths within a dataset;"
4716 const char *dataset;
4834 opts->dataset = munge_args(argc, argv, un, 3, &opts->perms);
4843 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
4848 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
4854 opts->dataset = munge_args(argc, argv, un, 2, &opts->perms);
4857 opts->dataset = argv[argc-1];
4859 opts->dataset = munge_args(argc, argv, un, 3, &opts->perms);
5350 /* try to open the dataset */
5351 if ((zhp = zfs_open(g_zfs, opts.dataset, ZFS_TYPE_FILESYSTEM |
5353 (void) fprintf(stderr, "Failed to open dataset: %s\n",
5354 opts.dataset);
5567 * Generic callback function to list a dataset or snapshot.
5775 * Share or mount a dataset.
5792 * Check to make sure we can mount/share this dataset. If we
5804 "dataset is exported to a local zone\n"), cmdname,
6375 * the special type (dataset name), and walk the result in
6626 char *dataset, *path;
6660 (void) fprintf(stderr, gettext("missing dataset "
6667 (void) fprintf(stderr, "usage: mount <dataset> <mountpoint>\n");
6671 dataset = argv[0];
6674 /* try to open the dataset */
6675 if ((zhp = zfs_open(g_zfs, dataset, ZFS_TYPE_FILESYSTEM)) == NULL)
6684 if (mount(dataset, path, MS_OPTIONSTR | flags, MNTTYPE_ZFS,
6692 "mounted using 'mount -F zfs'\n"), dataset);