martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
772 stars 86 forks source link

(FR) possibility to save wipe settings #586

Open zWhdmB5T opened 2 months ago

zWhdmB5T commented 2 months ago

I have a FR: please, make it possible to save wipe settings.

I've read #466 and there @PartialVolume mentioned /etc/nwipe.conf. I found files in /etc/nwipe/. But these are for the PDF generation only.

I would like to see it possible to store wipe settings as individual pre-default.

Thank you.

Knogle commented 2 months ago

Hey, You can also provide these settings using the commandline.

zWhdmB5T commented 2 months ago

Thank you @Knogle ! Good to know that hint.

Knogle commented 2 months ago

Try nwipe --help, it's really useful and let me know if that's what you are looking for :)

PartialVolume commented 2 months ago

@zWhdmB5T currently the wipe settings such as method, prng, blanking and rounds are not stored in /etc/nwipe/nwipe.conf. However they will be as soon as the code can be written. Like you say, only settings related to PDF are currently stored in nwipe.conf

zWhdmB5T commented 2 months ago

Hey @Knogle

I use for the command of my GUI starter the following:

xdg-su -c "/usr/bin/nwipe --method=is5enh --prng=isaac64"

It works fine. It does the job.