Changeset 57064 in vbox for trunk/include/VBox/vd.h
- Timestamp:
- Jul 23, 2015 4:22:04 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101786
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd.h
r56291 r57064 127 127 /** @} */ 128 128 129 /** @name VBox raw disk or partition flags 130 * @{ 131 */ 132 /** No special treatment. */ 133 #define VBOXHDDRAW_NORMAL 0 134 /** Whether this is a raw disk (where the partition information is ignored) or 135 * not. Valid only in the raw disk descriptor. */ 136 #define VBOXHDDRAW_DISK RT_BIT(0) 137 /** Open the corresponding raw disk or partition for reading only, no matter 138 * how the image is created or opened. */ 139 #define VBOXHDDRAW_READONLY RT_BIT(1) 140 /** @} */ 141 129 142 /** 130 143 * Auxiliary type for describing partitions on raw disks. The entries must be … … 150 163 /** Size of the data area. */ 151 164 uint64_t cbData; 165 /** Flags for special treatment, see VBOXHDDRAW_FLAGS_*. */ 166 uint32_t uFlags; 152 167 } VBOXHDDRAWPARTDESC, *PVBOXHDDRAWPARTDESC; 153 168 … … 170 185 * to make logging of the comment string produce sensible results. */ 171 186 char szSignature[4]; 187 /** Flags for special treatment, see VBOXHDDRAW_FLAGS_*. */ 172 188 /** Flag whether access to full disk should be given (ignoring the 173 189 * partition information below). */ 174 bool fRawDisk;190 uint32_t uFlags; 175 191 /** Filename for the raw disk. Ignored for partitioned raw disks. 176 192 * For Linux e.g. /dev/sda, and for Windows e.g. \\\\.\\PhysicalDisk0. */ … … 182 198 /** Partitioning type of the disk */ 183 199 VBOXHDDPARTTYPE uPartitioningType; 184 185 200 } VBOXHDDRAW, *PVBOXHDDRAW; 186 201
Note:
See TracChangeset
for help on using the changeset viewer.