Changeset 6987 in vbox for trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
- Timestamp:
- Feb 18, 2008 12:19:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r6291 r6987 2168 2168 pExtent = &pImage->pExtents[0]; 2169 2169 rc = RTFileOpen(&pImage->File, pszFilename, 2170 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE );2170 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); 2171 2171 if (VBOX_FAILURE(rc)) 2172 2172 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new file '%s'"), pszFilename); … … 2239 2239 2240 2240 rc = RTFileOpen(&pImage->File, pszFilename, 2241 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE );2241 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); 2242 2242 if (VBOX_FAILURE(rc)) 2243 2243 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new file '%s'"), pszFilename); … … 2309 2309 2310 2310 rc = RTFileOpen(&pExtent->File, pExtent->pszFullname, 2311 RTFILE_O_READWRITE | RTFILE_O_OPEN_CREATE | RTFILE_O_DENY_WRITE );2311 RTFILE_O_READWRITE | RTFILE_O_OPEN_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); 2312 2312 if (VBOX_FAILURE(rc)) 2313 2313 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new partition data file '%s'"), pExtent->pszFullname); … … 2426 2426 { 2427 2427 rc = RTFileOpen(&pImage->File, pszFilename, 2428 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE );2428 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); 2429 2429 if (VBOX_FAILURE(rc)) 2430 2430 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new sparse descriptor file '%s'"), pszFilename); … … 2495 2495 /* Create file for extent. */ 2496 2496 rc = RTFileOpen(&pExtent->File, pExtent->pszFullname, 2497 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE );2497 RTFILE_O_READWRITE | RTFILE_O_CREATE | RTFILE_O_DENY_WRITE | RTFILE_O_NOT_CONTENT_INDEXED); 2498 2498 if (VBOX_FAILURE(rc)) 2499 2499 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not create new file '%s'"), pExtent->pszFullname);
Note:
See TracChangeset
for help on using the changeset viewer.