Changeset 7070 in vbox for trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
- Timestamp:
- Feb 21, 2008 12:37:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r6987 r7070 2167 2167 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new extent list in '%s'"), pszFilename); 2168 2168 pExtent = &pImage->pExtents[0]; 2169 /* Create raw disk descriptor file. */ 2169 2170 rc = RTFileOpen(&pImage->File, pszFilename, 2170 2171 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); … … 2238 2239 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new extent list in '%s'"), pszFilename); 2239 2240 2241 /* Create raw partition descriptor file. */ 2240 2242 rc = RTFileOpen(&pImage->File, pszFilename, 2241 2243 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); … … 2308 2310 pExtent->fMetaDirty = false; 2309 2311 2312 /* Create partition table flat image. */ 2310 2313 rc = RTFileOpen(&pExtent->File, pExtent->pszFullname, 2311 RTFILE_O_READWRITE | RTFILE_O_ OPEN_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED);2314 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); 2312 2315 if (VBOX_FAILURE(rc)) 2313 2316 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new partition data file '%s'"), pExtent->pszFullname); … … 2354 2357 pExtent->fMetaDirty = false; 2355 2358 2359 /* Open flat image, the raw partition. */ 2356 2360 rc = RTFileOpen(&pExtent->File, pExtent->pszFullname, 2357 2361 RTFILE_O_READWRITE | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE);
Note:
See TracChangeset
for help on using the changeset viewer.