Lines Matching defs:group
596 debugprintf("changing owner (group) or %s to %u.", mtpoint,
600 err(1, "chown %s to %u (group)", mtpoint,
636 * 'str' should be a user and group name similar to the last argument
638 * group. The user and group in 'str' may be either a [ug]id or a
640 * the uid and gid of the user and group name in 'str', respectively.
642 * In other words, this derives a user and group id from a string
646 * group name. do_mtptsetup already does, so when this feature is
653 char *user, *group; /* Result of extracton. */
655 struct group *gr;
664 /* Extract the user and group from 'str'. Format above. */
667 group = ug;
668 user = strsep(&group, ":");
669 if (user == NULL || group == NULL || *user == '\0' || *group == '\0')
685 *gid = strtoul(group, &p, 10);
689 gr = getgrnam(group);
691 errx(1, "invalid group: %s", group);
809 "\t[-c blocks-per-cylinder-group][-d max-extent-size] [-E path-mdconfig]\n"
812 "\t[-p permissions] [-s size] [-v version] [-w user:group]\n"