Searched refs:disk_device (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | fdisk.c | 88 static char MBRbuf[2048], *disk_device; variable 354 disk_device = strdup(device); in read_mbr() 455 char boot, lastchar = '\0', *dev = disk_device; in list_partitions() 456 int i = 0, len = strlen(disk_device), odds = 0; in list_partitions() 461 xprintf("Device %s: doesn't contain a valid partition table\n", disk_device); in list_partitions() 505 if (mbytes < 10000) xprintf("Disk %s: %lu MB, %llu bytes\n", disk_device, mbytes, bytes); in print_mbr() 506 …else xprintf("Disk %s: %lu.%lu GB, %llu bytes\n", disk_device, mbytes/1000, (mbytes/100)%10, bytes… in print_mbr() 1177 xprintf("Device: %s\n", disk_device); in print_raw_sectors() 1194 …xprintf("Disk %s: %lu heads, %lu sectors, %lu cylinders\n\n", disk_device, g_heads, g_sectors, g_c… in print_partitions_list()
|