mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-06 02:24:30 +00:00
Merge pull request #1330 from esaunders/photorec_message_change
Modified PhotoRec module message to indicate that it was the saving (…
This commit is contained in:
@@ -12,5 +12,5 @@ cannotRunExecutable.message=Unable to execute unallocated carver
|
||||
cannotCreateOutputDir.message=Unable to create output directory: {0}
|
||||
PhotoRecIngestModule.processTerminated=PhotoRec Carver ingest module was terminated due to exceeding max allowable run time when scanning
|
||||
PhotoRecIngestModule.moduleError=PhotoRec Carver Module Error
|
||||
PhotoRecIngestModule.UnableToCarve=Unable to carve with PhotoRec
|
||||
PhotoRecIngestModule.NotEnoughDiskSpace=Not enough disk space to carve files. Carving will be skipped.
|
||||
PhotoRecIngestModule.UnableToCarve=Unable to carve file: {0}
|
||||
PhotoRecIngestModule.NotEnoughDiskSpace=Not enough disk space to save unallocated file. Carving will be skipped.
|
||||
@@ -148,10 +148,10 @@ final class PhotoRecCarverFileIngestModule implements FileIngestModule {
|
||||
// In this case, expect enough space and move on.
|
||||
long freeDiskSpace = IngestServices.getInstance().getFreeDiskSpace();
|
||||
if ((freeDiskSpace != -1) && ((file.getSize() * 1.2) > freeDiskSpace)) {
|
||||
logger.log(Level.SEVERE, "PhotoRec error processing {0} with {1} Not enough space on primary disk to carve unallocated space.", // NON-NLS
|
||||
logger.log(Level.SEVERE, "PhotoRec error processing {0} with {1} Not enough space on primary disk to save unallocated space.", // NON-NLS
|
||||
new Object[]{file.getName(), PhotoRecCarverIngestModuleFactory.getModuleName()}); // NON-NLS
|
||||
MessageNotifyUtil.Notify.error(NbBundle.getMessage(PhotoRecCarverFileIngestModule.class, "PhotoRecIngestModule.UnableToCarve"),
|
||||
NbBundle.getMessage(PhotoRecCarverFileIngestModule.class, "PhotoRecIngestModule.NotEnoughDiskSpace"));
|
||||
MessageNotifyUtil.Notify.error(NbBundle.getMessage(this.getClass(), "PhotoRecIngestModule.UnableToCarve", file.getName()),
|
||||
NbBundle.getMessage(this.getClass(), "PhotoRecIngestModule.NotEnoughDiskSpace"));
|
||||
return IngestModule.ProcessResult.ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user