Changeset 1014
- Timestamp:
- 5/7/2009 2:29:51 PM (4 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Manager/FileSystem.cs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Manager/FileSystem.cs
r991 r1014 358 358 //Squeeze one-byte files until the volume or the MFT is full. 359 359 DirectoryInfo rootDir = new DirectoryInfo(info.MountPoints[0]); 360 long oldMFTSize = NtfsA PI.GetMftValidSize(info);360 long oldMFTSize = NtfsApi.GetMftValidSize(info); 361 361 362 362 for ( ; ; ) … … 377 377 378 378 //We can stop when the MFT has grown. 379 if (NtfsA PI.GetMftValidSize(info) > oldMFTSize)379 if (NtfsApi.GetMftValidSize(info) > oldMFTSize) 380 380 break; 381 381 } … … 398 398 { 399 399 //Get the size of the MFT 400 long mftSize = NtfsA PI.GetMftValidSize(info);401 long mftRecordSegmentSize = NtfsA PI.GetMftRecordSegmentSize(info);400 long mftSize = NtfsApi.GetMftValidSize(info); 401 long mftRecordSegmentSize = NtfsApi.GetMftRecordSegmentSize(info); 402 402 int pollingInterval = (int)Math.Max(1, (mftSize / info.ClusterSize / 20)); 403 403 int totalFiles = (int)Math.Max(1L, mftSize / mftRecordSegmentSize) * … … 419 419 420 420 //Check if the MFT has grown. 421 if (mftSize < NtfsA PI.GetMftValidSize(info))421 if (mftSize < NtfsApi.GetMftValidSize(info)) 422 422 break; 423 423 } … … 447 447 get 448 448 { 449 return new DateTime(160 0, 1, 1, 0, 0, 0);449 return new DateTime(1601, 1, 1, 0, 0, 0); 450 450 } 451 451 }
Note: See TracChangeset
for help on using the changeset viewer.
