Lines Matching defs:drives

182 	int drives, errors, fd, flags, i, line, plexes, plex_in_volume;
192 /* Force flag used to ignore already created drives. */
242 drives = volumes = plexes = subdisks = 0;
377 snprintf(buf1, sizeof(buf1), "drive%d", drives);
379 drives++;
393 if (!errors && (volumes || plexes || subdisks || drives)) {
397 gctl_ro_param(req, "drives", sizeof(int), &drives);
411 warnx("usage:\tconcat [-fv] [-n name] drives\n");
425 int drives, i, flags, volumes, subdisks, plexes;
429 drives = 1;
447 gctl_ro_param(req, "drives", sizeof(int), &drives);
456 /* XXX: This is needed because we have to make sure the drives
492 int drives, flags, i;
496 drives = 0;
518 snprintf(buf, sizeof(buf), "drive%d", drives++);
538 gctl_ro_param(req, "drives", sizeof(int), &drives);
698 "concat [-fv] [-n name] drives\n"
699 " Create a concatenated volume from the specified drives.\n"
708 " List information about drives.\n"
715 "mirror [-fsv] [-n name] drives\n"
716 " Create a mirrored volume from the specified drives.\n"
722 "raid5 [-fv] [-s stripesize] [-n name] drives\n"
723 " Create a RAID-5 volume from the specified drives.\n"
741 "stripe [-fv] [-n name] drives\n"
742 " Create a striped volume from the specified drives.\n"
871 warnx("usage\tmirror [-fsv] [-n name] drives\n");
995 warnx("usage:\traid5 [-fv] [-s stripesize] [-n name] drives\n");
1254 warnx("usage:\tstripe [-fv] [-n name] drives\n");
1270 int drives, volumes, plexes, subdisks, flags;
1273 drives = volumes = plexes = subdisks = 0;
1301 drives = 1;
1326 gctl_ro_param(req, "drives", sizeof(int), &drives);