Changeset 67876 in vbox
- Timestamp:
- Jul 10, 2017 1:27:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/fatvfs.cpp
r67621 r67876 5069 5069 uint64_t offCur = offFirstFat + cbFat * cFats + cbRootDir; 5070 5070 uint64_t cbLeft = cTotalSectors * cbSector; 5071 if (cbVol - cbLeft <= _256K) /* HACK ALERT! Format to end of volume if it's a cluster rounding thing. */ 5072 cbLeft = cbVol; 5071 5073 if (cbLeft > offCur) 5072 5074 { … … 5109 5111 { 5110 5112 return RTFsFatVolFormat(hVfsFile, 0 /*offVol*/, 1474560, fQuick ? RTFSFATVOL_FMT_F_QUICK : RTFSFATVOL_FMT_F_FULL, 5111 512 /*cbSector*/, 2/*cSectorsPerCluster*/, RTFSFATTYPE_FAT12, 2 /*cHeads*/, 18 /*cSectors*/,5113 512 /*cbSector*/, 1 /*cSectorsPerCluster*/, RTFSFATTYPE_FAT12, 2 /*cHeads*/, 18 /*cSectors*/, 5112 5114 0xf0 /*bMedia*/, 0 /*cHiddenSectors*/, 224 /*cRootDirEntries*/, NULL /*pErrInfo*/); 5113 5115 }
Note:
See TracChangeset
for help on using the changeset viewer.