Changeset 1237


Ignore:
Timestamp:
9/30/2009 8:02:20 AM (5 years ago)
Author:
lowjoel
Message:

Create the temporary directory to hold the free space erasure files only when we are about to use it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.Manager/DirectExecutor.cs

    r1209 r1237  
    513513            VolumeInfo volInfo = VolumeInfo.FromMountpoint(target.Drive); 
    514514            FileSystem fsManager = FileSystemManager.Get(volInfo); 
    515             info = info.CreateSubdirectory(Path.GetFileName( 
    516                 FileSystem.GenerateRandomFileName(info, 18))); 
    517  
     515             
    518516            //Erase the cluster tips of every file on the drive. 
    519517            if (target.EraseClusterTips) 
     
    559557            } 
    560558 
     559            info = info.CreateSubdirectory(Path.GetFileName( 
     560                FileSystem.GenerateRandomFileName(info, 18))); 
    561561            try 
    562562            { 
Note: See TracChangeset for help on using the changeset viewer.