User triggered print of drive lable (#85)
implements #66 Reviewed-on: #85 Co-authored-by: localhorst <localhorst@mosad.xyz> Co-committed-by: localhorst <localhorst@mosad.xyz>
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
#endif
|
||||
|
||||
// Logic
|
||||
// #define DRYRUN // don't touch the drives
|
||||
// #define DRYRUN // don't touch the drives
|
||||
#define FROZEN_ALERT // show alert if drive is frozen
|
||||
#define ZERO_CHECK // check drive after shred if all bytes are zero, show alert if this fails
|
||||
|
||||
@ -90,6 +90,8 @@ private:
|
||||
static void filterInvalidDrives(list<Drive> *plistDrives);
|
||||
static void filterNewDrives(list<Drive> *plistOldDrives, list<Drive> *plistNewDrives);
|
||||
static void addSMARTData(list<Drive> *plistDrives);
|
||||
static void printAllDrives(list<Drive> *plistDrives);
|
||||
static void printDrive(Drive *const pDrive);
|
||||
static void ThreadScanDevices();
|
||||
static void ThreadUserInput();
|
||||
static void ThreadShred(Drive *const pDrive);
|
||||
|
||||
@ -32,6 +32,8 @@ public:
|
||||
Enter,
|
||||
ESC,
|
||||
Terminate,
|
||||
Print,
|
||||
PrintAll,
|
||||
Undefined
|
||||
};
|
||||
struct MenuState
|
||||
|
||||
Reference in New Issue
Block a user