Commit Graph

214 Commits

Author SHA1 Message Date
PartialVolume
01bc6b92b7 Less bright border ! 2019-12-03 21:55:22 +00:00
PartialVolume
6858e42fcf Update README.md with usage info.
i.e. command line or GUI.
2019-12-03 21:49:02 +00:00
PartialVolume
70b7497734 Add border to image 2019-12-03 21:41:03 +00:00
PartialVolume
178bc558fa Add an example of nwipe in GUI mode 2019-12-03 21:40:27 +00:00
PartialVolume
c0dc1e9ff7 Add example of how nwipe looks during a wipe 2019-12-03 21:33:42 +00:00
PartialVolume
bc5bfb73a7 Create example_wipe.png 2019-12-03 21:26:47 +00:00
PartialVolume
e37ccd4fdb Update readme.md URLs to Parted Magic and Shredos 2019-12-03 20:50:12 +00:00
PartialVolume
48c01f7cfa Update readme with wipe methods 2019-12-03 20:40:45 +00:00
PartialVolume
5004c15481 Merge pull request #144 from PartialVolume/add_error_checking_code_tidy_up
Add error checking code to pthread_mutex_lock functions
2019-12-01 22:26:07 +00:00
PartialVolume
3110267373 Add error checking code to pthread_mutex_lock functions
Move flush of logs into final cleanup function
Minor alteration to one or two error messages
2019-12-01 22:22:47 +00:00
PartialVolume
82e4d1b2ea Merge pull request #136 from louib/backspace_as_return
Update footers for key commands.
2019-11-30 23:14:55 +00:00
PartialVolume
a16a67d84e Merge pull request #143 from martijnvanbrummelen/PartialVolume-patch-1
Update ci.yml with apt-get update
2019-11-30 19:56:41 +00:00
PartialVolume
881ddcf0cb Update ci.yml 2019-11-30 19:49:40 +00:00
PartialVolume
1360196be2 Merge pull request #142 from martijnvanbrummelen/PartialVolume-patch-2
Update Readme with CI workflow ubuntu.16.04 badge
2019-11-30 17:55:33 +00:00
PartialVolume
91dfc37574 Update Readme with CI workflow ubuntu.16.04 badge 2019-11-30 17:54:49 +00:00
PartialVolume
675dd694a3 Rename ci_ubuntu-16.04 to ci_ubuntu-16.04.yml 2019-11-30 17:50:56 +00:00
PartialVolume
3ab826f11d Merge pull request #141 from martijnvanbrummelen/PartialVolume-patch-1
Create ci_ubuntu-16.04
2019-11-30 17:48:06 +00:00
PartialVolume
2cd8fce66a Create ci_ubuntu-16.04
Add workflow for ubuntu 16.04 test
2019-11-30 17:47:25 +00:00
PartialVolume
649cc09da0 Merge pull request #140 from martijnvanbrummelen/PartialVolume-patch-1
warning: logical 'or' of collectively exhaustive tests is always true
2019-11-30 17:20:25 +00:00
PartialVolume
c064a66115 warning: logical 'or' of collectively exhaustive tests is always true
If using || in the while statement and if 'MAX_DRIVE_PATH_LENGTH' was exceeded the while loop would loop indefinitely.
2019-11-30 17:07:14 +00:00
PartialVolume
000ebe6deb Merge pull request #137 from louib/exit_invalid_option
Exit on invalid long option.
2019-11-24 17:11:13 +00:00
PartialVolume
8a7ca91da6 Update URL with correct workflow name
i.e underscores
2019-11-24 17:00:52 +00:00
PartialVolume
404962e6fc Update README.md
Update URL to badge for new workflow name
2019-11-24 16:57:09 +00:00
PartialVolume
f96f17b0a6 Update ci.yml
Maybe better to use ubuntu-latest so we don't need to update every so often.
2019-11-24 16:51:15 +00:00
louib
d3ddd8d2ac Exit on invalid long option. 2019-11-24 11:14:28 -05:00
louib
974f323857 Update footers for key commands.
Update the footers for the commands available in each
screen. Also added the possibility to cancel from the
rounds screen. It was possible to cancel with backspace
from the other screens (method prng etc) but this was not
displayed in the footers. Added the `Ctrl-C` command
to all the footers since this is a global command.
Added the `Left` command to the rounds screen, since it
was implemented but not documented.
Also made sure the Ctrl-C was placed at the end on every
footer.
2019-11-24 10:52:22 -05:00
PartialVolume
4f6354919b Merge pull request #135 from louib/github-ci
Adding GitHub CI build process.
2019-11-24 08:25:39 +00:00
louib
2a7d07676b Adding CI badge 2019-11-23 21:31:45 -05:00
louib
06aecbb8f8 Adding GitHub CI build process. 2019-11-19 19:00:49 -05:00
PartialVolume
353a577282 Merge pull request #133 from louib/glibc_deprecated_warnings
Suppress warnings from glibc macros.
2019-11-19 12:44:10 +00:00
louib
5bf579d5b2 Suppress warnings from glibc macros. 2019-11-16 18:25:34 -05:00
PartialVolume
607a244bbf Make it clear 0.27 is a pending release 2019-11-14 11:32:56 +00:00
PartialVolume
d770f219b9 Merge pull request #132 from PartialVolume/fix_segfault_on_CNTRL-C_at_end_wipe_take3
Fix segfault on control c at end wipe
2019-11-14 01:27:33 +00:00
PartialVolume
1090ac5d83 Merge branch 'master' into fix_segfault_on_CNTRL-C_at_end_wipe_take3 2019-11-14 01:26:20 +00:00
PartialVolume
4241485e6a Fix segfault on Control-C, after a successful wipe
Symptoms: If you control-C to exit nwipe at the end of a successful
wipe you would get a segmentation fault. If nwipe log data was being
sent to stdout rather than to a log file, then you would not see the
log in the terminal windows after nwipe had exited. This patch fixes
those problems by creating a tri-state wipe flag for each wipe
thread. The main thread after having launched the wipe threads
will wait for ALL wipe flags to report that the wipe routine has
completed and the thread has exited. Only at that time does the
main() routine then proceed with joining the threads and waiting
for the join to confirm the thread has indeed exited. This join
is important as the thread will not actually exit until the OS
has flushed the disk buffers. Currently nwipe does not use O_SYNC
where data is sent straight to disk. Therefore it's important
to wait for data to be flushed before exiting nwipe. Part of this
patch is introducing a "please wait .. disks are being flushed"
prior to exiting nwipe otherwise it might look like nwipe had
hung. A disk flush in terms of how long it takes, can be from
instantly to 30 seconds or more, depending on how much system
memory you have, when the last sync occurred and if you have
changed the sync option from it's default. Something else to
note is that when all wipes have finished nwipe displays "Enter
To Exit" on the status line at the bottom of the screen. I
believe typing 'enter' rather than control-c did not produce a
segmentation fault. Irrespective, both methods of exiting nwipe
have been tested and confirmed to now work correctly. Tested
overnight with two drives using multiple wipe methods,
verification and blanking.
2019-11-14 01:07:08 +00:00
PartialVolume
dd3828008d Add notification of cache flush on CNTRL-C exit 2019-11-14 01:07:08 +00:00
PartialVolume
4f72927146 Merge pull request #130 from louib/verify_option_documentation
Add documentation for verify
2019-11-14 00:03:51 +00:00
louib
a5715eeca4 Add documentation for verify 2019-11-13 18:35:12 -05:00
PartialVolume
214ff8fb7a Merge pull request #128 from Legogizmo/Verify_Method
Added Verify Method
2019-11-13 23:03:51 +00:00
Legogizmo
94a9437166 Fixed the Error count issue 2019-11-13 14:30:20 -06:00
Legogizmo
a216fa2c24 Added Verify Method
and fixed other bugs.
2019-11-13 10:59:44 -06:00
PartialVolume
08d61dc9f1 Merge pull request #124 from PartialVolume/fix_control-C_segfault_after_successful_wipe
Fix segfault on Control-C, after a successful wipe
2019-11-11 12:54:59 +00:00
PartialVolume
f6cf615a12 Fix segfault on Control-C, after a successful wipe
Symptoms: If you control-C to exit nwipe at the end of a successful
wipe you would get a segmentation fault. If nwipe log data was being
sent to stdout rather than to a log file, then you would not see the
log in the terminal windows after nwipe had exited. This patch fixes
those problems by creating a tri-state wipe flag for each wipe
thread. The main thread after having launched the wipe threads
will wait for ALL wipe flags to report that the wipe routine has
completed and the thread has exited. Only at that time does the
main() routine then proceed with joining the threads and waiting
for the join to confirm the thread has indeed exited. This join
is important as the thread will not actually exit until the OS
has flushed the disk buffers. Currently nwipe does not use O_SYNC
where data is sent straight to disk. Therefore it's important
to wait for data to be flushed before exiting nwipe. Part of this
patch is introducing a "please wait .. disks are being flushed"
prior to exiting nwipe otherwise it might look like nwipe had
hung. A disk flush in terms of how long it takes, can be from
instantly to 30 seconds or more, depending on how much system
memory you have, when the last sync occurred and if you have
changed the sync option from it's default. Something else to
note is that when all wipes have finished nwipe displays "Enter
To Exit" on the status line at the bottom of the screen. I
believe typing 'enter' rather than control-c did not produce a
segmentation fault. Irrespective, both methods of exiting nwipe
have been tested and confirmed to now work correctly. Tested
overnight with two drives using multiple wipe methods,
verification and blanking.
2019-11-11 12:34:28 +00:00
PartialVolume
df36255e06 Merge pull request #123 from PartialVolume/add_notification_of_cache_flush
Add notification of cache flush on CNTRL-C exit
2019-11-10 11:55:12 +00:00
PartialVolume
602cdcaa58 Add notification of cache flush on CNTRL-C exit 2019-11-10 11:42:26 +00:00
PartialVolume
95b30f6286 Merge pull request #122 from PartialVolume/update_README.md_with_dmidecode
Add dmidecode as an optional package to README.md
2019-11-09 21:10:14 +00:00
PartialVolume
b4d82ec19b Add dmidecode as an optional package to README.md 2019-11-09 21:06:08 +00:00
PartialVolume
d968225417 Merge pull request #121 from louib/cleanup_top_level_doc
Cleanup top-level documentation
2019-11-09 20:23:28 +00:00
louib
46f8cc352d Cleanup top-level documentation
Moved most of the documentation from `README` to
`README.md`, and added MarkDown formatting when
required. Also move the release notes to a
`CHANGELOG.md`, and made sure the formatting
was consistent.
2019-11-09 10:39:22 -05:00
PartialVolume
42e58bbd22 Merge pull request #120 from louib/clang_format_dont_sort_includes
Do not sort includes on clang-format
2019-11-08 22:35:39 +00:00