-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto add date and time to filename of nwipe.log file for generating uniquely named log files #614
Comments
So to clarify, you would like a time stamped nwipe log file produced by parted magic in nwipe? ShredOS produces a time stamped file because the time stamped filename is passed to nwipe, nwipe then uses that filename to create the log. The problem with parted magics way of nwipe log creation is they will also be deciding what the log file is called, i.e a filename without a time stamp, so even if I changed nwipe to automatically create a time stamped file when no log file name was specified (which is a good idea) it wouldn't fix the problem in parted magic unless they changed the way they call nwipe. So yes, I can change nwipe to produce a time stamped log file if no log file is specified but I also have to retain the feature where the user can specify the filename to be used for backward compatibility. The point is, me changing nwipe might not fix this issue in parted magic due to the nwipe options parted magic uses. I will add this change to nwipe but you may still need the parted magic guys to change the nwipe options for I just wondered why you use the logfile .txt file but not the PDF certificate? |
@abacefbeca I removed those prior comments from a third party @ghost where they linked to some DLLs as they appeared to be from a compromised account. |
@PartialVolume I might be able to launch nwipe in Parted Magic from a Terminal window instead of the buttons under the Erase Disk GUI menu and use a command that will put a timestamp in the log file name. I noticed the PDF certificates that appeared on the desktop in Parted Magic after wiping a batch of drives. Actually, I think the serials were in the file names resulting in unique file names. Mainly I just want unique file names for convenience so I don't have to name them myself. Adding a time stamp to the file name is just one way to do that. I just realized that the PDFs would do that too. When I opened the PDFs there were no text in them. I'm not sure if that is because the PDF viewing program in Parted Magic had an issue or the files contained no text for some reason. Maybe I neglected to configure some settings for the PDFs? I am using Parted Magic 2024_09_13 which, if I remember correctly, includes nwipe 0.36. Since the PDFs looked mysteriously blank I just turned off PDF generation and decided to rely on the nwipe.log file. |
OK I just generated a test PDF certificate and opened it in X PDF, the PDF viewer included with Parted Magic. X PDF doesn't show the text for some reason. I opened the PDF in Firefox and the text is visible. |
@abacefbeca You may want to report xpdf not showing text as a font substitution issue over at parted magic. |
Thank you for investigating that so thoroughly! |
I use Parted Magic to wipe a lot of drives. I prefer to use the secure erase method with verification but drives often misbehave or might not support secure erase so I often use nwipe in Parted Magic to wipe drives. I need a log that contains the model, serial, wipe method, and verification results. Nwipe.log contains all of that. I generate a lot of nwipe.log files that I need to save and to ensure I don't overwrite previously created logs I have to manually add the date to the filename to create a unique file name. I tried ShredOS and noticed it is running nwipe but it will generate a log file with a date and time code in the filename, creating a unique log filename for each time nwipe is ran. Is there a way to do this with nwipe in Parted Magic? Perhaps the Parted Magic forums is the place to ask this but I've had trouble getting in to there. It is convenient for me to just switch programs in Parted Magic rather than shutting down the computer and rebooting from another USB drive to run ShredOS.
The text was updated successfully, but these errors were encountered: