Lines Matching defs:unit
303 get_floppy_disk_name (char *name, int unit)
308 sprintf (name, "/dev/floppy/%d", unit);
310 sprintf (name, "/dev/fd%d", unit);
313 sprintf (name, "/dev/fd%d", unit);
317 sprintf (name, "/dev/fd%d", unit);
319 sprintf (name, "/dev/rfd%d", unit);
323 sprintf (name, "/dev/rfd%da", unit);
326 sprintf (name, "/dev/rfd%dc", unit);
329 sprintf (name, "/dev/fd%d", unit);
332 sprintf (name, "/dev/rdiskette%d", unit);
341 get_ide_disk_name (char *name, int unit)
345 sprintf (name, "/dev/hd%c", unit + 'a');
348 sprintf (name, "/dev/hd%d", unit);
352 sprintf (name, "/dev/ad%d", unit);
354 sprintf (name, "/dev/rwd%d", unit);
360 sprintf (shortname, "wd%d", unit);
368 sprintf (name, "/dev/rwd%dc", unit);
373 sprintf (name, "/dev/hd%d", unit);
384 get_scsi_disk_name (char *name, int unit)
388 sprintf (name, "/dev/sd%c", unit + 'a');
391 sprintf (name, "/dev/sd%d", unit);
395 sprintf (name, "/dev/da%d", unit);
397 sprintf (name, "/dev/rda%d", unit);
403 sprintf (shortname, "sd%d", unit);
411 sprintf (name, "/dev/rsd%dc", unit);
434 get_ataraid_disk_name (char *name, int unit)
436 sprintf (name, "/dev/ataraid/d%c", unit + '0');