Lines Matching defs:drive
62 fprintf(stderr, "Usage: %s [-d] drive:\n", progname);
73 * @param drive the drive to erase
79 static void do_mclasserase(char drive,int debug)
97 char drivel[2]; /* Stores the drive letter */
123 if(! (Stream = find_device(drive, O_RDONLY, &dev, boot,
151 sprintf( drivel, "%c:", tolower(drive) );
278 * @info mclasserase [-p tempFilePath] [-d] drive:
288 char drive='a';
333 /* look for the drive to erase */
334 printf("mclasserase: searching drive\n");
342 drive = toupper(argv[optind][0]);
346 printf("mclasserase: found drive %c\n", drive);
348 /* remove all data on drive, you never come back if drive does
351 do_mclasserase(drive,debug);