using now own shred impl with check if the complete drive is full of zeros after shredding

This commit is contained in:
2022-05-14 14:06:16 +02:00
parent 0e391cebf3
commit c8a3220c3a
13 changed files with 368 additions and 625 deletions

View File

@ -29,8 +29,10 @@
#endif
// Logic
#define DRYRUN //don´t touch the drives
//#define DRYRUN //don´t touch the drives
#define DEMO_DRIVE_SIZE 1024*1024*256 // 256MB used for shredding only
#define FROZEN_ALERT //show alert if drive is frozen
#define ZERO_CHECK_ALERT //check drive after shred if all bytes are zero, show alert if this fails
//IPC pipes
#define READ 0
@ -58,7 +60,7 @@ using namespace std;
#include "drive.h"
#include "smart.h"
#include "shred/shred.h"
#include "shred.h"
#include "delete.h"
#include "tui.h"
#include "logger/logger.h"