Lines Matching defs:diskName
539 char diskName;
542 for (diskName='a'; diskName<='z'; diskName++) // try to mount sda->sdz
556 snprintf(source, 128, "/dev/sd%c", diskName);
558 snprintf(source, 128, "/dev/sd%c%d", diskName,i);
640 }//end of for(diskName = 'a';diskName < 'd';diskName++)
675 char diskName;
687 for (diskName='a', i=0; diskName<='z'; diskName++,i++)
704 sprintf(filename, "/tmp/usb_vol_name/sd%c", diskName);
706 sprintf(filename, "/tmp/usb_vol_name/sd%c%d", diskName, j);