- Timestamp:
- Mar 23, 2009 9:10:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r18162 r18164 93 93 { 94 94 unsigned uIndex; 95 /** partition type */ 95 96 unsigned uType; 97 /** CHS/cylinder of the first sector */ 96 98 unsigned uStartCylinder; 99 /** CHS/head of the first sector */ 97 100 unsigned uStartHead; 101 /** CHS/head of the first sector */ 98 102 unsigned uStartSector; 103 /** CHS/cylinder of the last sector */ 99 104 unsigned uEndCylinder; 105 /** CHS/head of the last sector */ 100 106 unsigned uEndHead; 107 /** CHS/sector of the last sector */ 101 108 unsigned uEndSector; 109 /** start sector of this partition relative to the beginning of the hard 110 * disk or relative to the beginning of the extended partition table */ 102 111 uint64_t uStart; 112 /** numer of sectors of the partition */ 103 113 uint64_t uSize; 114 /** start sector of this partition _table_ */ 104 115 uint64_t uPartDataStart; 116 /** numer of sectors of this partition _table_ */ 105 117 uint64_t cPartDataSectors; 106 118 } HOSTPARTITION, *PHOSTPARTITION; … … 635 647 pCP->uPartDataStart = uStart + uOffset; 636 648 pCP->cPartDataSectors = uStartOffset; 649 RTPrintf("cPartDataSectors = %u\n", pCP->cPartDataSectors); 637 650 p += 16; 638 651 if (p[4] == 0) … … 668 681 RTPrintf("Two partitions start at the same place. Aborting\n"); 669 682 return VERR_INVALID_PARAMETER; 670 } else if (pPart->aPartitions[j].uStart == 0) 683 } 684 else if (pPart->aPartitions[j].uStart == 0) 671 685 { 672 686 RTPrintf("Partition starts at sector 0. Aborting\n");
Note:
See TracChangeset
for help on using the changeset viewer.