DiskClone does not remove Pagefile.sys

May 18, 2011 at 6:26 PM

Hi,

I *think* I may have found a problem with DiskClone.

 

You are using  SnapshotStream to remove pagefile.sys, but then not using the snapshotstream and instead using sourceVol.Content.

 

Line 169, should be changed from:

SparseStream partSourceStream = SparseStream.FromStream(sourceVol.Content, Ownership.None, extents);

to 

SparseStream partSourceStream = SparseStream.FromStream(rawVolStream, Ownership.None, extents);

Very impressive API.

Thanks,

 

Mark

Coordinator
May 18, 2011 at 11:44 PM

Thanks Mark - good catch.

Coordinator
May 18, 2011 at 11:44 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.