Lines Matching defs:mountpoint
213 "\t [-m mountpoint] [-R root] <pool> <vdev> ...\n"));
772 * [-R root] [-m mountpoint] <pool> <dev> ...
778 * -m Set default mountpoint for the root dataset. By default it's
801 char *mountpoint = NULL;
832 /* Equivalent to -O mountpoint=optarg */
833 mountpoint = optarg;
880 mountpoint = propval;
945 * Check the validity of the mountpoint and direct the user to use the
946 * '-m' mountpoint option if it looks like its in use.
948 if (mountpoint == NULL ||
949 (strcmp(mountpoint, ZFS_MOUNTPOINT_LEGACY) != 0 &&
950 strcmp(mountpoint, ZFS_MOUNTPOINT_NONE) != 0)) {
954 if (mountpoint && mountpoint[0] != '/') {
955 (void) fprintf(stderr, gettext("invalid mountpoint "
957 "'none'\n"), mountpoint);
961 if (mountpoint == NULL) {
971 altroot, mountpoint);
974 mountpoint);
978 (void) fprintf(stderr, gettext("mountpoint '%s' : "
991 (void) fprintf(stderr, gettext("mountpoint "
1002 * Now that the mountpoint's validity has been checked, ensure that
1005 if (mountpoint != NULL) {
1007 mountpoint, &fsprops, B_FALSE);