Lines Matching defs:mountpoint
210 "\t [-m mountpoint] [-R root] <pool> <vdev> ...\n"));
624 * [-R root] [-m mountpoint] <pool> <dev> ...
630 * -m Set default mountpoint for the root dataset. By default it's
653 char *mountpoint = NULL;
684 /* Equivalent to -O mountpoint=optarg */
685 mountpoint = optarg;
732 mountpoint = propval;
797 * Check the validity of the mountpoint and direct the user to use the
798 * '-m' mountpoint option if it looks like its in use.
800 if (mountpoint == NULL ||
801 (strcmp(mountpoint, ZFS_MOUNTPOINT_LEGACY) != 0 &&
802 strcmp(mountpoint, ZFS_MOUNTPOINT_NONE) != 0)) {
806 if (mountpoint && mountpoint[0] != '/') {
807 (void) fprintf(stderr, gettext("invalid mountpoint "
809 "'none'\n"), mountpoint);
813 if (mountpoint == NULL) {
823 altroot, mountpoint);
826 mountpoint);
830 (void) fprintf(stderr, gettext("mountpoint '%s' : "
843 (void) fprintf(stderr, gettext("mountpoint "
854 * Now that the mountpoint's validity has been checked, ensure that
857 if (mountpoint != NULL) {
859 mountpoint, &fsprops, B_FALSE);