Lines Matching defs:sector
183 // code at sector 2, for instance).
191 cout << "Currently, main partition table begins at sector " << mainHeader.partitionEntriesLBA
192 << " and ends at sector " << mainHeader.partitionEntriesLBA + pteSize - 1 << "\n";
209 cout << "Currently, backup partition table begins at sector " << secondHeader.partitionEntriesLBA
211 << "sector " << secondHeader.partitionEntriesLBA + pteSize - 1 << "\n";
224 uint64_t firstBlock, firstInLargest, lastBlock, sector, origSector, lastAligned;
251 prompt2 << "First sector (" << firstBlock << "-" << lastBlock << ", default = "
254 sector = GetSectorNum(firstBlock, lastBlock, firstInLargest, prompt2.str());
255 } while (IsFree(sector) == 0);
256 origSector = sector;
257 if (Align(§or)) {
258 cout << "Information: Moved requested sector from " << origSector << " to "
259 << sector << " in\norder to align on " << sectorAlignment
260 << "-sector boundaries.\n";
264 firstBlock = sector;
269 prompt3 << "Last sector (" << firstBlock << "-" << lastBlock << ", default = "
272 sector = GetSectorNum(firstBlock, lastBlock, lastAligned, prompt3.str());
273 } while (IsFree(sector) == 0);
274 lastBlock = sector;
549 // before each partition (one free sector is required to create a logical
573 // Obtains a sector number, between low and high, from the
601 // Although an MBR partition that begins below sector 2^32 and is less than 2^32 sectors in
602 // length is technically legal even if it ends above the 2^32-sector mark, such a partition
607 cout << "\a\nWarning! GPT partition " << partNum << " ends after the 2^32 sector mark! The partition\n"
870 << "-sector boundaries.\n";
903 prompt << "Enter the sector alignment value (1-" << MAX_ALIGNMENT << ", default = "
967 cout << "d\tdisplay the sector alignment value\n";
975 cout << "l\tset the sector alignment value\n";