Changeset 33786 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Nov 4, 2010 5:15:01 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67425
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/RAW.cpp
r33773 r33786 88 88 { 89 89 {"iso", VDTYPE_DVD}, 90 {"cdr", VDTYPE_DVD}, 90 91 {"img", VDTYPE_FLOPPY}, 91 92 {"ima", VDTYPE_FLOPPY}, 93 {"dsk", VDTYPE_FLOPPY}, 92 94 {NULL, VDTYPE_INVALID} 93 95 }; … … 525 527 && pszExtension) 526 528 { 527 if (!RTStrICmp(pszExtension, ".iso")) /* DVD images. */ 529 if ( !RTStrICmp(pszExtension, ".iso") 530 || !RTStrICmp(pszExtension, ".cdr")) /* DVD images. */ 528 531 { 529 532 /* Note that there are ISO images smaller than 1 MB; it is impossible to distinguish … … 539 542 rc = VERR_VD_RAW_INVALID_HEADER; 540 543 } 541 else if (!RTStrICmp(pszExtension, ".img") || !RTStrICmp(pszExtension, ".ima")) /* Floppy images */ 544 else if ( !RTStrICmp(pszExtension, ".img") 545 || !RTStrICmp(pszExtension, ".ima") 546 || !RTStrICmp(pszExtension, ".dsk")) /* Floppy images */ 542 547 { 543 548 if (!(cbFile % 512) && cbFile <= RAW_MAX_FLOPPY_IMG_SIZE)
Note:
See TracChangeset
for help on using the changeset viewer.