Commit Graph

917 Commits

Author SHA1 Message Date
PartialVolume
c007d0f2ab Update version.c
Bump minor version from 0.35.6 to 0.35.7
2024-02-15 11:51:45 +00:00
PartialVolume
161054269c Merge pull request #543 from PartialVolume/Fix_incorrect_HS_status_for_4096_sectors_as_reported_by_libata
Fix hidden sector detection for logical 4096 size
2024-02-03 22:34:47 +00:00
PartialVolume
dd7ffab816 Fix hidden sector detection for logical 4096 size
This fixes an issue where nwipe detects a discrepancy
between the number of sectors reported by hdparm and
nwipe's own HPA/DCO functions that were reporting the
same values, using number of sectors based on 512 byte
sectors but disagreed with the number of sectors
generated from libata which was reporting the number of
sectors based on 4096 byte sectors.

This has been fixed by always calculating the number
of sectors returned by libata using 512 bytes per sector
so a direct comparison can be made to data from hdparm
& nwipe's HPA/DCO functions.
2024-02-03 20:20:39 +00:00
PartialVolume
9edebde20d Merge pull request #538 from PartialVolume/Make_footer_text_more_informative_at_end_of_all_wipes
Make completion footer more informative
2023-12-20 21:10:34 +00:00
PartialVolume
807eed0ffc Make completion footer more informative
These changes solve three issues. The first
issue was that it wasn't obvious that the
PDFs are only created once you press return
to exit after all the wipes have finished. It
is now explicitly stated in the footer message if
PDFs are enabled.

It also now specifies the logfile name on the
footer if the user has specified a log file as a
command line option. If no logfile is specified
then STDOUT is displayed.

If the user specified --PDFreportpath=noPDF on the
command line, prior to this commit it had no affect.
This is now fixed so that it disables PDF's irrespective
of what is in nwipe.conf. i.e command line options
override the entries in nwipe.conf

If the user has specified a --PDFreportpath=noPDF=/some/path
then PDF's are enabled irrespective of the value in nwipe.conf
2023-12-20 20:53:43 +00:00
PartialVolume
78f3a26795 Merge pull request #536 from PartialVolume/Bump_minor_version
Bump version from 0.35.3 to 0.35.4
2023-12-16 19:14:47 +00:00
PartialVolume
dbe7103fe9 Bump version from 0.35.3 to 0.35.4 2023-12-16 19:12:23 +00:00
PartialVolume
eef25e829e Merge pull request #535 from PartialVolume/Fix_incorrect_footer_on_return_to_preview
Fix incorrect footer on return to preview
2023-12-16 18:57:59 +00:00
PartialVolume
43bfb3a08e Fix incorrect footer on return to preview
This fixes incorrect footer text being displayed when
Enable customer/company preview is enabled and the user
select a field to be edited, completes the editing and
returns to the preview to select A for accept. Only
problem was A=Accept wasn't listed on the footer.
2023-12-16 18:50:33 +00:00
PartialVolume
fd6cca7010 Merge pull request #534 from PartialVolume/Fix_spacing_between_temperature_and_model
Place a space between temperature and model
2023-11-29 22:23:44 +00:00
PartialVolume
1220eca2ef Place a space between temperature and model
eg [36C] ST3500... and not [36C]ST3500..
2023-11-29 22:21:01 +00:00
PartialVolume
32321f49fa Merge pull request #533 from PartialVolume/Fix_config_key_shortcuts_help_text
Fix the config help messages.

Some of the config help messages that show the purpose of the keys were inconsistent or not updating correctly when going back to the previous menu. Now fixed.
2023-11-29 19:51:02 +00:00
PartialVolume
cca93f845d Fix the config help messages
Some of the help messages that show the
purpose of the keys were inconsistent or
not updated when going back. Now fixed.
2023-11-29 19:40:47 +00:00
PartialVolume
789aa134a0 Merge pull request #532 from PartialVolume/Fix_PDF_page_titles
Make smart page titles consistent with page 1

Should now read
Page 1 - Erasure Status
Page 2 - Smart Data
Page 3 - Smart Data

and not as previously
Page 1 - Erasure Status
Smart Data - Page 2
Smart Data - Page 3
2023-11-28 21:25:52 +00:00
PartialVolume
c24e248055 Make smart page titles consistent with page 1
Should now read
Page 1 - Erasure Status
Page 2 - Smart Data
Page 3 - Smart Data

and not as previously
Page 1 - Erasure Status
Smart Data - Page 2
Smart Data - Page 3
2023-11-28 21:21:48 +00:00
PartialVolume
3f78d76bac Merge pull request #531 from PartialVolume/Fix_no_auto_exit_in_non_gui_mode
Fix nwipe not auto exiting on completion in non gui mode.
2023-11-28 00:52:54 +00:00
PartialVolume
626ca3826c Fix nwipe not auto exiting on completion in non gui mode. 2023-11-27 23:39:50 +00:00
PartialVolume
f61b593093 Merge pull request #529 from PartialVolume/Fix_autopoweroff_and_nowait_when_screen_blank
Fix autopoweroff and nowait when screen blank
2023-11-24 01:14:31 +00:00
PartialVolume
7f39d81548 Fix autopoweroff and nowait when screen blank
If the user had blanked the screen, the autopoweroff
and nowait options did not work. Instead they paused
nwipe on completion of the wipe/s waiting for the b
key to be pressed which reactivated compute_stats()
function who's output indicates whether any wipes were
still active.

This was fixed so that compute_stats() is always
active while wipes are in progress, so that the
nwipe_gui_status() function will exit when all wipe
threads have completed even if the screen has been
blanked.
2023-11-24 01:06:29 +00:00
PartialVolume
d0a53f57be Merge pull request #527 from ggruber/SerialGarbage
fix: again garbage after serial number
2023-11-20 00:15:03 +00:00
Gerold Gruber
811c36b65a again garbage after serial number 2023-11-20 00:14:05 +01:00
PartialVolume
2ff23eb02c Update version.c
Bump minor version from 0.35 to 0.35.1
2023-11-17 12:04:48 +00:00
PartialVolume
7a4709da55 Merge pull request #526 from PartialVolume/Identify_mmcblk_devices
Added mmcblk device type MMC

Changed log message from "USB bridge, no pass-through support" to "Smart data unavailable" as no smart data could be caused by a non USB device such as mmcblk as well as USB devices with no ATA pass through and other devices that smartctl does not detect.
2023-11-16 20:00:13 +00:00
PartialVolume
9ee5193673 Added mmcblk device type MMC
Added the abbreviation MMC for mmcblk devices such as SD and
microSD cards and some low budget laptops.

Changed log message from "USB bridge, no pass-through support"
to "Smart data unavailable" as no smart data could be caused by
a non USB device such as mmcblk as well as USB devices with no ATA
pass through and other devices that smartctl does not detect.
2023-11-16 19:35:07 +00:00
PartialVolume
9270eda8d0 Merge pull request #523 from ggruber/master
modified disk sorting for more than 26 disks
v0.35
2023-11-05 16:07:30 +00:00
Gerold Gruber
470672bc3a modified disk sorting for more than 26 disks 2023-11-05 02:02:39 +01:00
PartialVolume
d14c3da26b Merge pull request #520 from xambroz/patch-4
move the include of time.h
2023-11-04 21:29:34 +00:00
PartialVolume
4bf06d136c Merge pull request #517 from xambroz/patch-3
lower the build requirements
2023-11-04 21:22:03 +00:00
PartialVolume
2abe4975f2 Merge pull request #516 from xambroz/patch-2
move the define off64_t
2023-11-04 21:10:00 +00:00
PartialVolume
2a30ae92af Merge pull request #521 from ggruber/master
fix MAX_NUMBER_EXCLUDED_DRIVES, handle exceeding the limit, +README.md
2023-11-04 20:58:08 +00:00
Gerold Gruber
e77164f710 fix MAX_NUMBER_EXCLUDED_DRIVES, handle exceeding the limit, +README.md 2023-11-04 21:14:05 +01:00
PartialVolume
e463b10d28 Merge pull request #518 from ggruber/master
progress dots added
2023-11-04 18:36:11 +00:00
Michal Ambroz
4747ce65c6 move the include of time.h
The definition of the newly used _POSIX_SOURCE affects preprocessing of the time.h. As result on RHEL7 (possibly 6 as well) the timespec structure is not defined.
2023-11-04 15:59:38 +01:00
Gerold Gruber
28a9c70abc formatting fix 2023-11-04 13:55:11 +01:00
Gerold Gruber
2ac6ebe7ea progress dots added 2023-11-04 13:53:26 +01:00
Michal Ambroz
a70fa15bac lower the build requirements
Hello,
please lower the requirements to autoconf allowing to build rhel7/8 packages (possibly rhel6, not tested).
Thank you
Michal Ambroz
2023-11-03 22:51:59 +01:00
Michal Ambroz
398b03a11a move the define off64_t
Move the definition of the off64_t using int64_t  bellow the include stdint.h, which is actually defining it.

Without change wrong order is breaking the build on RHEL7/8/9.
2023-11-03 22:47:29 +01:00
PartialVolume
63c64b91e4 Merge pull request #514 from PartialVolume/Add_check_for_root_execution
Add_check_for_root_execution
2023-11-02 20:19:21 +00:00
PartialVolume
edfd982037 Add_check_for_root_execution 2023-11-02 20:14:52 +00:00
PartialVolume
cad05c685a Merge pull request #513 from PartialVolume/Fix_segfault_on_first_run_as_non_root
Fix_segfault_on_first_run_as_non_root
2023-11-02 19:55:47 +00:00
PartialVolume
499ad925ae Fix_segfault_on_first_run_as_non_root
Incorrectly trying to close a uninitialised file
pointer stream when the file could not be opened.
2023-11-02 19:47:53 +00:00
PartialVolume
2c17e32189 Update CHANGELOG.md
Added info about temperature thread in 0.35
2023-11-02 17:36:21 +00:00
PartialVolume
68561873ba Update README.md
Updates to README.md for version 0.35
2023-11-02 17:30:50 +00:00
PartialVolume
a30f92425c Merge pull request #512 from PartialVolume/master
Updates to CHANGELOG.md
2023-11-01 23:12:18 +00:00
PartialVolume
cb7d3d1664 Update CHANGELOG.md
Added further information about HPA/DCO
2023-11-01 23:09:22 +00:00
PartialVolume
869804f6c1 Update CHANGELOG.md
Correct some typos in CHANGELOG.md
2023-11-01 23:04:10 +00:00
PartialVolume
61cca3141e Update CHANGELOG.md
Change version number to header format ( Large, bold)
2023-11-01 23:02:22 +00:00
PartialVolume
07b83f053b Merge pull request #511 from PartialVolume/Add_changes_to_CHANGELOG.md_for_0.35_release
Update CHANGELOG.md for 0.35 release
2023-11-01 22:55:53 +00:00
PartialVolume
fd3bbd8523 Update CHANGELOG.md for 0.35 release 2023-11-01 22:52:51 +00:00
PartialVolume
1b37bcef84 Merge pull request #510 from PartialVolume/Bump_version_to_0.35
Bump version to 0.35
2023-11-01 20:13:48 +00:00