Commit Graph

362 Commits

Author SHA1 Message Date
PartialVolume
2b225f5cb9 Merge pull request #225 from PartialVolume/Add_ETA_to_status_when_SIGUSR1_received
Add eta to status when sigusr1 received
2020-03-20 18:57:09 +00:00
PartialVolume
8d31f2cf4a Update CHANGELOG.md 2020-03-20 18:05:51 +00:00
PartialVolume
d59e0323de Add ETA to to status when nwipe is sent a SIGUSR1
If a sudo kill -s USR1 (Nwipe's PID) is issued
on the command line while nwipe is operating in
--nogui mode, ETA is now displayed along with
percentage completion, pass and round information.

Note! Because we rely upon cached I/O at the moment
the calculated ETA early in the wipe is very inaccurate
but becomes more accurate as CPU memory cache is filled.
2020-03-20 17:52:35 +00:00
PartialVolume
7ac7c80731 Update CHANGELOG.md - --nogui drive stats 2020-03-19 22:00:01 +00:00
PartialVolume
a1e6e3bd52 Merge pull request #224 from PartialVolume/fix_summary_duration_during_shutdown_in_middle_of_wipe
Fix incorrect summary duration during shutdown
2020-03-19 21:20:19 +00:00
PartialVolume
62a8e76205 Fix incorrect summary duration during shutdown
If the system is shutdown while nwipe is still
wiping, the duration calculation would be
incorrect. This patch fixes that problem, so for
instance if a UPS signals the system running nwipe to
shutdown, nwipe typically traps that signal and
exits in an orderly manner. The log summary
is generated showing the wipe was aborted and
the wipe duration shows a valid value i.e the
elapsed time since the start of the wipe.
2020-03-19 21:09:02 +00:00
PartialVolume
fbfcbf8d34 Merge pull request #223 from PartialVolume/create_nwipe_log_summary_table
Add a summary table to the log that shows each drives status
2020-03-18 23:57:01 +00:00
PartialVolume
6c99166b75 Add a summary table to the log that shows each drives status
Add a summary table to the log that shows each drives status
i.e. erased or failed, throughput, duration of wipe, model,
serial no etc. In particular it benefits those that wipe many
drives simultaneously in rack servers. At a glance any failed
drives can be seen without having to browse back through the
log. Especially useful in --nogui mode, but also useful in GUI
mode.
2020-03-18 23:42:44 +00:00
PartialVolume
a022fffacb Update README.md 2020-03-14 11:51:11 +00:00
PartialVolume
ec9a322683 Update README.md - changes to automation section 2020-03-14 09:00:29 +00:00
PartialVolume
e6dd32a74b Update README.md 2020-03-14 08:56:01 +00:00
PartialVolume
523351531c Update README.md 2020-03-14 08:54:04 +00:00
PartialVolume
1d83fd6f8f Merge pull request #221 from louib/version_badge
Adding version badge to README.
2020-03-14 07:04:22 +00:00
louib
74243d392d Adding version badge to README. 2020-03-13 21:35:04 -04:00
PartialVolume
06fe803eb1 Merge pull request #220 from PartialVolume/create_spinner
Add a spinner to the GUI for each drive
2020-03-13 23:49:55 +00:00
PartialVolume
298ee05b8c Merge branch 'master' into create_spinner 2020-03-13 23:48:56 +00:00
PartialVolume
4928eb094e Add a spinner to the GUI for each drive
Add a spinner to the GUI for each drive being wiped.
When nwipe is syncing the percentage completion pauses,
having a spinner gives a clear indication that the wipe
is still running. Each devices spinner disappears on completion
of a given devices wipe.
2020-03-13 23:43:32 +00:00
PartialVolume
9caceaa75d Update CHANGELOG.md 2020-03-13 18:06:20 +00:00
PartialVolume
75fce57ab4 Merge pull request #219 from PartialVolume/reduce_unneccesary_lines_in_log_while_retaining_info
Reduce unnecessary lines in log while retaining info
2020-03-13 17:51:32 +00:00
PartialVolume
e955725fc5 Style formatting 2020-03-13 17:48:20 +00:00
PartialVolume
1c1b25e1ae Keep nwipe_log notices succinct
1. Keep nwipe_log notices succinct and below 80 chars in length including
timestamp. This is especially relevant for 80x30 terminal use such
as ALT-F2 etc or Shredos without losing any information.

2. Add [SUCCESS] to blanked & verified messages to make them stand out for quicker checking.
2020-03-13 17:24:08 +00:00
PartialVolume
d4963092dd Update README.md 2020-03-13 08:42:39 +00:00
PartialVolume
1083207d49 Update README.md with automation script
This script will install all the necessary libraries and software to compiling nwipe, download the latest master version of nwipe and run it, all with a single command ./buildnwipe
2020-03-13 01:22:01 +00:00
PartialVolume
458a3d780f Update CHANGELOG.md, adding verbose option to 0.29
Add verbose option -v, --verbose
Only display thread cancellation info messages, excluding error
messages, only when verbose option is selected.

This helps to keep the log a bit cleaner especially when wiping many
drives simultaneously.
2020-03-12 13:03:09 +00:00
PartialVolume
08c9cbe9f1 Merge pull request #217 from PartialVolume/add_verbose_option
Add verbose option
2020-03-12 12:59:13 +00:00
PartialVolume
e9caad3bef Add verbose option
Add verbose option -v, --verbose
Only display thread cancellation info messages, excluding error
messages, only when verbose option is selected.

This helps to keep the log a bit cleaner especially when wiping many
drives simultaneously.
2020-03-12 12:55:10 +00:00
PartialVolume
50e7cfaa7b Merge pull request #216 from PartialVolume/master
Update CHANGELOG.md
2020-03-12 00:45:15 +00:00
PartialVolume
ea39f57afb Update CHANGELOG.md 2020-03-12 00:38:25 +00:00
PartialVolume
880823cc9b Merge pull request #215 from PartialVolume/add_auto_poweroff
Add auto poweroff, fix non working nowait option.
2020-03-12 00:05:20 +00:00
PartialVolume
7d3a3c5f1e format code style 2020-03-12 00:00:06 +00:00
PartialVolume
e33c1bb06d Add --autopoweroff option
Fix non working --nowait option.
Update version info to 0.29-release candidate
2020-03-11 23:44:11 +00:00
PartialVolume
50079a15f9 Merge pull request #211 from PartialVolume/Release_0.28
Release 0.28
v0.28
2020-03-11 16:48:48 +00:00
PartialVolume
cc82687cf3 Release 0.28 2020-03-11 16:44:13 +00:00
PartialVolume
82a867b569 Merge pull request #210 from martijnvanbrummelen/PartialVolume-fix_individual_throughput
Update CHANGELOG.md
2020-03-11 14:06:21 +00:00
PartialVolume
fee849b35e Update CHANGELOG.md 2020-03-11 14:03:16 +00:00
PartialVolume
09d9fc88fb Merge pull request #209 from PartialVolume/fix_individual_device_throughput
Fix individual device throughput.
2020-03-11 13:58:24 +00:00
PartialVolume
6570197de0 Fix individual device throughput.
On completion of a device wipe, the throughput was continuing
to be calculated for a completed wipe which resulted in the
throughput for that particular device to gradually drop over time
to zero if other drives were still

This has now been corrected. Throughput calculation for a given
device is stopped when the particular device has completed its wipe.
2020-03-11 13:55:44 +00:00
PartialVolume
4eef3e6ab0 Merge pull request #208 from martijnvanbrummelen/PartialVolume-update-CHANGELOG.md
Update CHANGELOG.md
2020-03-11 10:05:27 +00:00
PartialVolume
c4969e36f1 Update CHANGELOG.md
Add hyperlinks to 0.28 changes.
2020-03-11 10:04:01 +00:00
PartialVolume
c75c393e49 Merge pull request #207 from martijnvanbrummelen/PartialVolume-update-CHANGELOG.md
Update CHANGELOG.md
2020-03-10 21:16:33 +00:00
PartialVolume
53e5f4ca3a Update CHANGELOG.md 2020-03-10 21:15:30 +00:00
PartialVolume
72505f00cc Merge pull request #206 from martijnvanbrummelen/PartialVolume-Screen-responsivness-during-wipe
Update CHANGELOG.md
2020-03-10 20:36:22 +00:00
PartialVolume
f4947eb317 Update CHANGELOG.md 2020-03-10 20:34:48 +00:00
PartialVolume
5775498803 Merge pull request #205 from PartialVolume/slow_main_window_refresh_during_wipe_after_terminal_resize
Slow main window refresh during wipe after terminal resize
2020-03-10 20:29:28 +00:00
PartialVolume
85059c73c4 Format code 2020-03-10 20:25:52 +00:00
PartialVolume
cd420a079d Fix 1 second delay on screen update when terminal is resized.
During a wipe there is a approximately 1 second delay between
resizing the window and the screen fully updating. This has been
corrected so screen updates and as a consequence key response is
faster. This makes the GUI interface feel smoother and more responsive.
2020-03-10 20:21:00 +00:00
PartialVolume
e2ec6a560f Merge pull request #204 from PartialVolume/fix_overflow_warning
Fix overflow warning
2020-03-10 15:30:24 +00:00
PartialVolume
87199a1940 Clang formatting. 2020-03-10 15:23:18 +00:00
PartialVolume
88cae05301 Fix overflow warning message.
Use sizeof to determine suitable string size for the dmidecode cmd buffer
2020-03-10 15:18:25 +00:00
Martijn van Brummelen
14d285fb63 Update nwipe.1
Section should be 1 not 4
2020-03-10 10:12:33 +01:00