1NWIPE(1) User Commands NWIPE(1)
2
3
4
6 nwipe - securely erase disks
7
9 nwipe [options] [device1] [device2] ...
10
12 nwipe is a command that will securely erase disks using a variety of
13 recognised methods. It is a fork of the dwipe command used by Darik's
14 Boot and Nuke (dban). nwipe is included with partedmagic if you want a
15 quick and easy bootable CD version. nwipe was created out of a need to
16 run the DBAN dwipe command outside of DBAN, in order to allow its use
17 with any host distribution, thus giving better hardware support. It is
18 essentially the same as dwipe, with a few changes:
19
20 - pthreads is used instead of fork
21
22 - The parted library is used to detect drives
23
24 - The code is designed to be compiled with gcc
25
26 - SIGUSR1 can be used to log the stats of the current wipe
27
28
30 -V, --version
31 Prints the version number
32
33 -h, --help
34 Prints a help summary
35
36 --autonuke
37 If no devices have been specified on the command line, starts
38 wiping all devices immediately. If devices have been specified,
39 starts wiping only those specified devices immediately.
40
41 --autopoweroff
42 Power off system on completion of wipe delayed for for one
43 minute. During this one minute delay you can abort the shutdown
44 by typing sudo shutdown -c
45
46 --sync Open devices in sync mode
47
48 --noblank
49 Do not perform the final blanking pass after the wipe (default
50 is to blank, except when the method is RCMP TSSIT OPS-II).
51
52 --nowait
53 Do not wait for a key before exiting (default is to wait).
54
55 --nosignals
56 Do not allow signals to interrupt a wipe (default is to allow).
57
58 --nousb
59 Do not show or wipe any USB devices, whether in GUI, --nogui or
60 autonuke mode. (default is to allow USB devices to be shown and
61 wiped).
62
63 --nogui
64 Do not show the GUI interface. Can only be used with the au‐
65 tonuke option. Nowait option is automatically invoked with the
66 nogui option. SIGUSR1 can be used to retrieve the current wip‐
67 ing statistics.
68
69 -v, --verbose
70 Log more messages, useful for debugging.
71
72 --verify=TYPE
73 Whether to perform verification of erasure (default: last)
74
75 off - Do not verify
76
77 last - Verify after the last pass
78
79 all - Verify every pass
80
81 Please mind that HMG IS5 enhanced always verifies the last
82 (PRNG) pass regardless of this option.
83
84 -m, --method=METHOD
85 The wiping method (default: dodshort).
86
87 dod522022m / dod - 7 pass DOD 5220.22-M method
88
89 dodshort / dod3pass - 3 pass DOD method
90
91 gutmann - Peter Gutmann's Algorithm
92
93 ops2 - RCMP TSSIT OPS-II
94
95 random / prng / stream - PRNG Stream
96
97 zero / quick - Overwrite with zeros
98
99 verify - Verifies disk is zero filled
100
101 is5enh - HMG IS5 enhanced
102
103 -l, --logfile=FILE
104 Filename to log to. Default is STDOUT
105
106 -p, --prng=METHOD
107 PRNG option (mersenne|twister|isaac)
108
109 -r, --rounds=NUM
110 Number of times to wipe the device using the selected method
111 (default: 1)
112
113 -e, --exclude=DEVICES
114 Up to ten comma separated devices to be excluded, examples:
115 --exclude=/dev/sdc
116 --exclude=/dev/sdc,/dev/sdd
117
119 Please see the GitHub site for the latest list (https://github.com/mar‐
120 tijnvanbrummelen/nwipe/issues)
121
123 Nwipe is developed by Martijn van Brummelen <github@brumit.nl>
124
126 shred(1), dwipe(1), dd(1), dcfldd(1), dc3dd(1)
127
128
129
130
131nwipe version 0.30 December 2020 NWIPE(1)