Changeset 1496 for trunk/eraser6/Eraser.Manager/DirectExecutor.cs
- Timestamp:
- 1/11/2010 2:44:04 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/eraser6/Eraser.Manager/DirectExecutor.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser6/Eraser.Manager/DirectExecutor.cs
r1440 r1496 507 507 else 508 508 throw new UnauthorizedAccessException(S._("The program does not have the " + 509 "required permissions to erase the unused space on disk")); 510 } 511 509 "required permissions to erase the unused space on disk.")); 510 } 511 512 //Check whether System Restore has any available checkpoints. 513 if (SystemRestore.GetInstances().Count != 0) 514 { 515 task.Log.LastSessionEntries.Add(new LogEntry(S._("The drive {0} has System " + 516 "Restore or Volume Shadow Copies enabled. This may allow copies of files " + 517 "stored on the disk to be recovered and pose a security concern.", 518 target.Drive), LogLevel.Warning)); 519 } 520 512 521 //If the user is under disk quotas, log a warning message 513 522 if (VolumeInfo.FromMountpoint(target.Drive).HasQuota) 514 task.Log.LastSessionEntries.Add(new LogEntry(S._("The drive which is having its " +515 " unused space erased has disk quotas active. This will prevent the complete " +516 " erasure of unused space and will pose a security concern"), LogLevel.Warning));523 task.Log.LastSessionEntries.Add(new LogEntry(S._("The drive {0} has disk quotas " + 524 "active. This will prevent the complete erasure of unused space and may pose " + 525 "a security concern.", target.Drive), LogLevel.Warning)); 517 526 518 527 //Get the erasure method if the user specified he wants the default.
Note: See TracChangeset
for help on using the changeset viewer.
