Lines Matching refs:optarg
277 opt_ofs = argtooff(optarg, "offset");
283 opt_B = optarg;
286 opt_create = argtooff(optarg, "create size");
289 if (strcmp(optarg, "12") &&
290 strcmp(optarg, "16") &&
291 strcmp(optarg, "32"))
292 errx(1, "%s: bad FAT type", optarg);
293 opt_F = atoi(optarg);
296 opt_I = argto4(optarg, 0, "volume ID");
300 if (!oklabel(optarg))
301 errx(1, "%s: bad volume label", optarg);
302 opt_L = optarg;
305 if (strlen(optarg) > 8)
306 errx(1, "%s: bad OEM string", optarg);
307 opt_O = optarg;
310 opt_S = argto2(optarg, 1, "bytes/sector");
313 opt_a = argto4(optarg, 1, "sectors/FAT");
316 opt_b = argtox(optarg, 1, "block size");
320 opt_c = argto1(optarg, 1, "sectors/cluster");
324 opt_e = argto2(optarg, 1, "directory entries");
327 opt_f = optarg;
330 opt_h = argto2(optarg, 1, "drive heads");
333 opt_i = argto2(optarg, 1, "info sector");
336 opt_k = argto2(optarg, 1, "backup sector");
339 opt_m = argto1(optarg, 0, "media descriptor");
343 opt_n = argto1(optarg, 1, "number of FATs");
346 opt_o = argto4(optarg, 0, "hidden sectors");
350 opt_r = argto2(optarg, 1, "reserved sectors");
353 opt_s = argto4(optarg, 1, "file system size");
356 opt_u = argto2(optarg, 1, "sectors/track");