Lines Matching defs:mountpoint
214 "\t [-m mountpoint] [-R root] <pool> <vdev> ...\n"));
748 * [-R root] [-m mountpoint] <pool> <dev> ...
754 * -m Set default mountpoint for the root dataset. By default it's
777 char *mountpoint = NULL;
808 /* Equivalent to -O mountpoint=optarg */
809 mountpoint = optarg;
854 mountpoint = propval;
919 * Check the validity of the mountpoint and direct the user to use the
920 * '-m' mountpoint option if it looks like its in use.
923 if (!force && (mountpoint == NULL ||
924 (strcmp(mountpoint, ZFS_MOUNTPOINT_LEGACY) != 0 &&
925 strcmp(mountpoint, ZFS_MOUNTPOINT_NONE) != 0))) {
929 if (mountpoint && mountpoint[0] != '/') {
930 (void) fprintf(stderr, gettext("invalid mountpoint "
932 "'none'\n"), mountpoint);
936 if (mountpoint == NULL) {
946 altroot, mountpoint);
949 mountpoint);
953 (void) fprintf(stderr, gettext("mountpoint '%s' : "
966 (void) fprintf(stderr, gettext("mountpoint "
977 * Now that the mountpoint's validity has been checked, ensure that
980 if (mountpoint != NULL) {
982 mountpoint, &fsprops, B_FALSE);