Lines Matching defs:group
494 debugprintf("changing owner (group) or %s to %u.", mtpoint,
498 err(1, "chown %s to %u (group)", mtpoint,
517 * 'str' should be a user and group name similar to the last argument
519 * group. The user and group in 'str' may be either a [ug]id or a
521 * the uid and gid of the user and group name in 'str', respectively.
523 * In other words, this derives a user and group id from a string
527 * group name. do_mtptsetup already does, so when this feature is
534 char *user, *group; /* Result of extracton. */
536 struct group *gr;
545 /* Extract the user and group from 'str'. Format above. */
548 group = ug;
549 user = strsep(&group, ":");
550 if (user == NULL || group == NULL || *user == '\0' || *group == '\0')
566 *gid = strtoul(group, &p, 10);
570 gr = getgrnam(group);
572 errx(1, "invalid group: %s", group);
690 "\t[-c blocks-per-cylinder-group][-d max-extent-size] [-E path-mdconfig]\n"
693 "\t[-p permissions] [-s size] [-v version] [-w user:group]\n"