Lines Matching refs:drive
153 eprintf("Note: >>> Both drive and partition numbers start "
159 eprintf("About to change id of partition %d on drive %d to %s\r\n",
184 int chg_tosparts(chg_part, drive, newname)
185 int chg_part, drive;
197 if (read_block(buf, 0, drive) == 0)
218 if (read_block(buf, new_root, drive) == 0)
232 if (write_block(buf, new_root, drive) == 0)
248 if (read_block(buf, 0, drive) == 0)
254 if (write_block(buf, 0, drive) == 0)
278 int read_block(buf, blkno, drive)
281 int drive;
283 if(Dmaread(blkno, 1, buf, drive + 8) != 0)
288 int write_block(buf, blkno, drive)
291 int drive;
293 if(Dmawrite(blkno, 1, buf, drive + 8) != 0)
334 The <driveno> and <partno> arguments specify the drive and the partition\r