Lines Matching full:sectors
14 usage: fdisk [-lu] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SECTSZ] DISK
18 -u Start and End are in sectors (instead of cylinders)
21 -C CYLINDERS Set number of cylinders/heads/sectors
23 -S SECTORS
32 long sectors;
130 if (!g_sectors) printf(" sectors");
165 unsigned long sectors = 0;
169 perror_msg("device has more than 2^32 sectors, can't use all of them");
174 if (ioctl(dev_fd, BLKGETSIZE, §ors) == 0)
175 if (sizeof(long) > sizeof(sector_t) && sectors != (sector_t)sectors)
176 sectors = (uint32_t) - 1L;
177 return sectors;
229 disk->sectors = geometry.sectors;
372 disk.heads = disk.sectors = 0;
378 g_sectors = (toys.optflags & FLAG_S && TT.sectors)? TT.sectors : s? s : disk.sectors?disk.sectors : 63;
507 xprintf("%ld heads, %ld sectors/track, %ld cylinders", g_heads, g_sectors, g_cylinders);
509 xprintf(", total %lld sectors\n", total_number_sectors/(g_sect_size/SECTOR_SIZE));
510 xprintf("Units = sectors of 1 * %ld = %ld bytes\n",g_sect_size, g_sect_size);
724 //taking user input for partition start/end sectors/cyinders
858 if (temp < start) //the boundary is falling in the already used sectors.
890 if (limit < start) { //the boundary is falling in the already used sectors.
891 xprintf("No Free sectors available\n");
906 if (temp < start) { //the boundary is falling in the already used sectors.
907 xprintf("No Free sectors available\n");
1079 xprintf("Partition %u: previous sectors
1136 xprintf("Total allocated sectors %lld greater than the maximum "
1140 if (total) xprintf("%lld unallocated sectors\n", total);
1194 xprintf("Disk %s: %lu heads, %lu sectors, %lu cylinders\n\n", disk_device, g_heads, g_sectors, g_cylinders);
1319 "s\tchange number of sectors/track\n"
1377 sprintf(mesg, "Number of sectors (1 - 63, default %lu): ", g_sectors);
1379 g_sectors = TT.sectors = value;
1409 dev_geo.sectors = 0;
1471 if (TT.sectors >= 64) TT.sectors = 0;
1535 xprintf("Changing Display/Entry units to %s\n",disp_unit_cyl?"cylinders" : "sectors");