Commit Graph

165 Commits

Author SHA1 Message Date
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
louib
10028b6f95 Do not sort includes on clang-format 2019-11-08 17:06:52 -05:00
PartialVolume
7d70fa5dc5 Merge pull request #119 from PartialVolume/fix_header_order
Fix order of include files in options.c
2019-11-08 18:02:03 +00:00
PartialVolume
53b1c6ba62 Fix order of include files in options.c
After running clang on options.c the includes were reordered. This caused the compilation to fail with multiple errors.
2019-11-08 18:00:24 +00:00
PartialVolume
88ce0b7494 Merge pull request #105 from Legogizmo/SyncChanges
Sync changes
2019-11-08 13:21:31 +00:00
PartialVolume
2a056b7bfa Changed sync from 0 (at end) to every 1000000 blks
Instead of defaulting to only calling fdatasync at the end of a wipe, it now defaults to calling fdatasync every 1000000 blocks. This shows a unresponsive drive far quicker and also allows wipe threads to complete and be cancelled within a couple of seconds if a wipe is aborted with control-c.
2019-11-08 13:18:50 +00:00
Legogizmo
f9f0ec605c Merge branch 'master' into SyncChanges 2019-11-07 14:09:07 -06:00
PartialVolume
9331061cbf Merge pull request #112 from louib/clang_format
First clang-format file version.
2019-11-07 19:47:01 +00:00
PartialVolume
2402ca0602 Merge branch 'master' into clang_format 2019-11-07 19:33:32 +00:00
Legogizmo
7db0bd733e Merge branch 'master' into SyncChanges 2019-11-07 11:22:43 -06:00
PartialVolume
128dfb3a4e Merge pull request #116 from PartialVolume/fix_drive_parsing_and_success_status
Fix drive parsing and success status
2019-11-06 20:23:32 +00:00
PartialVolume
5199fb1793 Fix wipe status saying Success when it never even started.
Capitalise success and failure messages in GUI and log to make them stand out
2019-11-06 20:03:39 +00:00
PartialVolume
f6c1cab28a Have nwipe continue with following devices even if one fails 2019-11-06 14:13:33 +00:00
PartialVolume
4b9ae33171 Merge pull request #114 from PartialVolume/limit_help_line_length_to_80_characters
Limit help text line length to 80 characters
2019-11-05 23:32:01 +00:00
PartialVolume
d04ae940b6 Limit help text line length to 80 characters
1. When running nwipe in a 80x24 terminal such as ALT-F2 or shredos the line length needs to limited to 80 characters otherwise the text looks misaligned.
2. Added a line between each option to make it more legible.
2019-11-05 22:56:58 +00:00
PartialVolume
74c05fe290 Merge pull request #113 from PartialVolume/fix_dmidecode_error_reporting
Fix error reporting when accessing dmidecode.
2019-11-04 22:48:02 +00:00
PartialVolume
766d8020c6 Fix error reporting when accessing dmidecode.
This fix allows nwipe to log an error, specifically the exit code of dmidecode if the exit code
is not 0.

For instance if dmidecode is not installed on a system, then dmidecode reports the following
[2019/11/04 22:12:50] nwipe: info: nwipe_log_sysinfo: dmidecode failed, "dmidecode -s bios-version" exit status = 127

nwipe does not abort on this error but does log the error and continue.
2019-11-04 22:39:20 +00:00
louib
76f097c272 First clang-format file version. 2019-11-03 11:38:41 -05:00
PartialVolume
5e2d55ba7f Merge pull request #110 from louib/ac_deprecated_init
Fix AutoConf deprecated warning
2019-11-03 01:10:19 +00:00
louib
7c025040b4 Fix AutoConf deprecated warning
This fixes the following AC warning:
```
configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
```

As per the deprecation notice, using `AM_INIT_AUTOMAKE` for setting the
version is mostly obsolete because the package and version can be obtained
from Autoconf’s `AC_INIT` macro.
2019-11-02 19:24:25 -04:00
PartialVolume
661785294c Merge pull request #109 from louib/documentation
Fix typos in README and comments.
2019-11-02 22:51:07 +00:00
louib
7b1a5b98a7 Fix typos in README and comments. 2019-11-02 18:33:36 -04:00
Legogizmo
e1475d70ff Update context.h 2019-10-21 11:21:15 -05:00
Legogizmo
a75c29f973 Changed how often fdatasyncs occur.
Changed what the sync option does.
Stopped nwipe from changing the disk blocksize.
Added periodic fdatasyncs within the write loops in pass.c
2019-10-21 11:16:19 -05:00
Martijn van Brummelen
721c8de743 Merge pull request #100 from PartialVolume/add_exclude_drive_to_man_page
Add details of exclude drive option to man page
2019-09-13 09:29:00 +02:00
PartialVolume
4acad452ae Add details of exclude drive option to man page 2019-09-10 22:38:56 +01:00
Martijn van Brummelen
37dfb1a2b6 new release 0.26 v0.26 2019-09-04 08:51:37 +02:00
Martijn van Brummelen
55783c0b8d Update configure.ac 2019-09-04 08:21:10 +02:00
Martijn van Brummelen
52d0508b23 Update nwipe.1 2019-09-04 08:20:37 +02:00
Martijn van Brummelen
d2a66e0047 Merge pull request #99 from PartialVolume/log_system_info
Log system's hardware as described in the system BIOS according to th…
2019-09-04 08:18:47 +02:00
Martijn van Brummelen
11ed6b1472 Merge pull request #71 from PartialVolume/exclude-drive-181116
Enhancement: Add exclude drive option
2019-09-04 08:18:32 +02:00
PartialVolume
0fec3a1213 Log system's hardware as described in the system BIOS according to the SMBIOS/DMI standard.
Uses dmidecode with search keywords arguments. dmidecode -s to see available keywords.
2019-08-31 09:55:08 +01:00
Martijn van Brummelen
b341d1dab0 Merge pull request #93 from PartialVolume/Fedora_package_update_to_readme
Update readme with Fedora package requirements
2018-11-28 12:26:24 +01:00
Nick Law
c92a87860d Update readme with Fedora package requirements 2018-11-28 11:08:03 +00:00
Martijn van Brummelen
545491940e Merge pull request #92 from PartialVolume/update_readme_and_readme.md
Update Readme with package requirements
2018-11-28 08:43:39 +01:00
Nick Law
cd16c2e86b Update Readme with package requirements 2018-11-27 21:56:14 +00:00
Martijn van Brummelen
00469644d8 Merge pull request #89 from PartialVolume/Fix_segfault_that_shows_up_in_Fedora32bit_on_exit
Fix segfault on immediate CNTRL-C exit, shows in Fedora32 bit
2018-11-27 10:08:09 +01:00
Martijn van Brummelen
ac680b4225 Merge pull request #90 from PartialVolume/Update_Fedora_workaround
Update Fedora workaround
2018-11-27 10:07:38 +01:00
Nick Law
c58ab04ff6 Update Fedora workaround 2018-11-25 23:55:11 +00:00
Nick Law
bb91f093a3 Fix segfault on immediate CNTRL-C exit, shows in Fedora32 bit 2018-11-25 21:53:21 +00:00
Martijn van Brummelen
025a02e87c Merge pull request #86 from PartialVolume/netinet_header_removal
Use stdint.h, ncurses.h and panel.h instead of netinet/in.h
2018-11-25 20:53:24 +01:00
Martijn van Brummelen
68cad1b640 Merge pull request #84 from PartialVolume/va_list_ap_was_opened_but_not_closed_by_va_end
Close va_list 'ap' using (va_end( ap ) on failures
2018-11-25 20:52:47 +01:00
Martijn van Brummelen
54f643559f Merge pull request #83 from PartialVolume/warning_variable_wy_set_but_not_used_in_nwipe_gui_title
(void) unused wy, to silence compiler warning
2018-11-25 20:52:16 +01:00
Nick Law
cd3716f260 Use stdint.h, ncurses.h and panel.h instead of netinet/in.h 2018-11-24 23:32:20 +00:00
Nick Law
43172a9741 Close va_list 'ap' using (va_end( ap ) on failures 2018-11-24 13:29:11 +00:00
Nick Law
10221fb2a9 (void) unused wy, to silence compiler warning 2018-11-23 21:09:24 +00:00
Martijn van Brummelen
9b821292ea Merge pull request #82 from PartialVolume/Unused_variables_in_NWIPE_PRNG_READ_SIGNATURE_in_prng.c
(void) unused variables in func.nwipe_isaac_read()
2018-11-23 19:45:22 +01:00
Nick Law
6b350a2348 (void) unused variables in func.nwipe_isaac_read() 2018-11-23 17:13:14 +00:00
Martijn van Brummelen
6ec7826692 Merge pull request #80 from PartialVolume/nwipe.h_is_not_guarded_against_multiple_inclusions
Put Function prototypes inside #ifndef/#define/#endif macro guard
2018-11-23 16:20:51 +01:00
Nick Law
00e9350dd6 Put Function prototypes inside #ifndef/#define/#endif macro guard 2018-11-23 12:56:20 +00:00