NWIPE(1)

πŸ“¦
version 0.34 Β· 2 versions
, in debian bookworm, ubuntu noble

🌸 NWIPE(1) β€” the "securely erase disks" era πŸ’…

okay bestie, this is the nwipe page from the User Commands corner of the manual, and no cap, it's a whole vibe. buckle up πŸŽ€


✨ NAME ✨

nwipe β€” securely erase disks πŸ§ΉπŸ’€


✨ SYNOPSIS ✨

nwipe [options] [device1] [device2] ...

like. you hand it options, you hand it devices, it does the thing 🫢


✨ DESCRIPTION ✨

so nwipe is literally the command that securely erases disks using a whole buffet of recognised methods. iconic behavior honestly. πŸ‘‘

fr fr it's a fork of the dwipe command that Darik's Boot and Nuke (dban) uses. and if you want a quick and easy bootable CD version, nwipe is included with partedmagic β€” cute and convenient, we love that for us. πŸ’–

the whole reason nwipe exists: people needed to run the DBAN dwipe command outside of DBAN, so it could work with literally any host distribution, which gives you better hardware support. it's essentially the same as dwipe, just with a few glow-ups:

  • pthreads is used instead of fork 🧡
  • the parted library is used to detect drives πŸ”
  • the code is designed to be compiled with gcc πŸ› οΈ
  • SIGUSR1 can be used to log the stats of the current wipe πŸ“Š

✨ OPTIONS ✨

  • -V, --version β€” prints the version number, so you know exactly which era of nwipe you're in ⭐
  • -h, --help β€” prints a help summary, the little menu of everything πŸŽ€
  • --autonuke β€” if no devices were given on the command line, it starts wiping all devices immediately 😭. if devices were given, it starts wiping only those specified devices immediately. no chill, straight to business πŸ”₯
  • --autopoweroff β€” powers the system off when the wipe completes, but delayed for one minute ⏳. during that one minute delay you can abort the shutdown by typing sudo shutdown -c β€” your emergency escape hatch bestie 🫢
  • --sync=NUM β€” will perform a syn after NUM writes (default: 100000)
    • 0 β€” fdatasync after the disk is completely written. fdatasync errors not detected until completion. 0 is not recommended as disk errors may cause nwipe to appear to hang 😬
    • 1 β€” fdatasync after every write. Warning: lower values will reduce wipe speeds 🐌
    • 1000 β€” fdatasync after 1000 writes
  • --noblank β€” do not perform the final blanking pass after the wipe (default is to blank, except when the method is RCMP TSSIT OPS-II) πŸ™ˆ
  • --nowait β€” do not wait for a key before exiting (default is to wait) ⌨️
  • --nosignals β€” do not allow signals to interrupt a wipe (default is to allow) 🚫
  • --nousb β€” do not show or wipe any USB devices, whether in GUI, --nogui or autonuke mode. (default is to allow USB devices to be shown and wiped) πŸ”Œ
  • --nogui β€” do not show the GUI interface. can only be used with the autonuke option. nowait option is automatically invoked with the nogui option. SIGUSR1 can be used to retrieve the current wiping statistics πŸ“ˆ
  • -v, --verbose β€” log more messages, useful for debugging πŸ›
  • --verify=TYPE β€” whether to perform verification of erasure (default: last)
    • off β€” do not verify
    • last β€” verify after the last pass
    • all β€” verify every pass
    • please mind that HMG IS5 enhanced always verifies the last (PRNG) pass regardless of this option πŸ‘€
  • -m, --method=METHOD β€” the wiping method (default: dodshort)
    • dod522022m / dod β€” 7 pass DOD 5220.22-M method
    • dodshort / dod3pass β€” 3 pass DOD method
    • gutmann β€” Peter Gutmann's Algorithm
    • ops2 β€” RCMP TSSIT OPS-II
    • random / prng / stream β€” PRNG Stream
    • zero / quick β€” Overwrite with zeros 0x00
    • one β€” Overwrite with ones 0xFF
    • verify_zero β€” Verifies disk is zero filled
    • verify_one β€” Verifies disk is 0xFF filled
    • is5enh β€” HMG IS5 enhanced
  • -l, --logfile=FILE β€” filename to log to. default is STDOUT πŸ“
  • -p, --prng=METHOD β€” PRNG option (mersenne|twister|isaac|isaac64) 🎲
  • -q, --quiet β€” anonymize serial numbers, GUI & logs display:
    • XXXXXXXX = S/N obtained & anonymized.
    • ???????? = S/N not available.
  • -r, --rounds=NUM β€” number of times to wipe the device using the selected method (default: 1) πŸ”
  • -e, --exclude=DEVICES β€” up to ten comma separated devices to be excluded, examples:
    • --exclude=/dev/sdc
    • --exclude=/dev/sdc,/dev/sdd

πŸ’€ BUGS πŸ’€

please see the GitHub site for the latest list β€” it's giving "we keep receipts" energy: https://github.com/martijnvanbrummelen/nwipe/issues πŸ›


πŸ‘‘ AUTHOR πŸ‘‘

Nwipe is developed by Martijn van Brummelen <github@brumit.nl> β€” absolute main character, respect the icon πŸ’œ


🌈 SEE ALSO 🌈

shred(1), dwipe(1), dd(1), dcfldd(1), dc3dd(1)


ok that's the whole page bestie, every flag, every default, every warning, all of it. go forth and wipe responsibly, no cap 🫢✨

and that's a wrap on nwipe version 0.33 from March 2022 β€” ty for coming to my ted talk, slay, periodt πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from