Changeset 85884 in vbox for trunk/include/VBox
- Timestamp:
- Aug 25, 2020 7:59:36 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140060
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd.h
r85221 r85884 130 130 /** @} */ 131 131 132 /** @name V Box raw disk or partition flags132 /** @name VDISKRAW_XXX - VBox raw disk or partition flags 133 133 * @{ 134 134 */ … … 144 144 145 145 /** 146 * Auxiliary type for describing partitions on raw disks. The entries must be 147 * in ascending order (as far as uStart is concerned), and must not overlap. 148 * Note that this does not correspond 1:1 to partitions, it is describing the 149 * general meaning of contiguous areas on the disk. 146 * Auxiliary type for describing partitions on raw disks. 147 * 148 * The entries must be in ascending order (as far as uStart is concerned), and 149 * must not overlap. Note that this does not correspond 1:1 to partitions, it is 150 * describing the general meaning of contiguous areas on the disk. 150 151 */ 151 152 typedef struct VDISKRAWPARTDESC … … 161 162 const void *pvPartitionData; 162 163 /** Offset where the data starts in this device. */ 163 uint64_t uStartOffset;164 uint64_t offStartInDevice; 164 165 /** Offset where the data starts in the disk. */ 165 uint64_t uStart;166 uint64_t offStartInVDisk; 166 167 /** Size of the data area. */ 167 168 uint64_t cbData; 168 /** Flags for special treatment, see VDISKRAW_ FLAGS_*. */169 /** Flags for special treatment, see VDISKRAW_XXX. */ 169 170 uint32_t uFlags; 170 171 } VDISKRAWPARTDESC, *PVDISKRAWPARTDESC; 171 172 172 173 /** 173 * Auxiliary data structure for difference between GPT and MBR 174 * disks. 174 * Auxiliary data structure for difference between GPT and MBR disks. 175 175 */ 176 176 typedef enum VDISKPARTTYPE … … 188 188 * to make logging of the comment string produce sensible results. */ 189 189 char szSignature[4]; 190 /** Flags for special treatment, see VDISKRAW_FLAGS_*. */ 191 /** Flag whether access to full disk should be given (ignoring the 192 * partition information below). */ 190 /** Flags for special treatment, see VDISKRAW_XXX. */ 193 191 uint32_t uFlags; 194 192 /** Filename for the raw disk. Ignored for partitioned raw disks. 195 193 * For Linux e.g. /dev/sda, and for Windows e.g. //./PhysicalDisk0. */ 196 const char *pszRawDisk; 194 char *pszRawDisk; 195 /** Partitioning type of the disk */ 196 VDISKPARTTYPE enmPartitioningType; 197 197 /** Number of entries in the partition descriptor array. */ 198 u nsignedcPartDescs;198 uint32_t cPartDescs; 199 199 /** Pointer to the partition descriptor array. */ 200 200 PVDISKRAWPARTDESC pPartDescs; 201 /** Partitioning type of the disk */202 VDISKPARTTYPE uPartitioningType;203 201 } VDISKRAW, *PVDISKRAW; 204 202
Note:
See TracChangeset
for help on using the changeset viewer.