Lines Matching defs:drives

183 	int drives, errors, fd, flags, i, line, plexes, plex_in_volume;
194 /* Force flag used to ignore already created drives. */
244 drives = volumes = plexes = subdisks = 0;
379 snprintf(buf1, sizeof(buf1), "drive%d", drives);
381 drives++;
395 if (!errors && (volumes || plexes || subdisks || drives)) {
399 gctl_ro_param(req, "drives", sizeof(int), &drives);
413 warnx("usage:\tconcat [-fv] [-n name] drives\n");
427 int drives, i, flags, volumes, subdisks, plexes;
431 drives = 1;
449 gctl_ro_param(req, "drives", sizeof(int), &drives);
458 /* XXX: This is needed because we have to make sure the drives
494 int drives, flags, i;
498 drives = 0;
520 snprintf(buf, sizeof(buf), "drive%d", drives++);
540 gctl_ro_param(req, "drives", sizeof(int), &drives);
700 "concat [-fv] [-n name] drives\n"
701 " Create a concatenated volume from the specified drives.\n"
710 " List information about drives.\n"
717 "mirror [-fsv] [-n name] drives\n"
718 " Create a mirrored volume from the specified drives.\n"
724 "raid5 [-fv] [-s stripesize] [-n name] drives\n"
725 " Create a RAID-5 volume from the specified drives.\n"
743 "stripe [-fv] [-n name] drives\n"
744 " Create a striped volume from the specified drives.\n"
874 warnx("usage\tmirror [-fsv] [-n name] drives\n");
998 warnx("usage:\traid5 [-fv] [-s stripesize] [-n name] drives\n");
1257 warnx("usage:\tstripe [-fv] [-n name] drives\n");
1273 int drives, volumes, plexes, subdisks, flags;
1276 drives = volumes = plexes = subdisks = 0;
1304 drives = 1;
1329 gctl_ro_param(req, "drives", sizeof(int), &drives);