Steve Kondik | 79165c3 | 2015-11-09 19:43:00 -0800 | [diff] [blame] | 1 | .\" Copyright (c) 2014 Jean-Pierre Andre |
| 2 | .\" This file may be copied under the terms of the GNU Public License. |
| 3 | .\" |
| 4 | .TH NTFSWIPE 8 "June 2014" "ntfs-3g @VERSION@" |
| 5 | .SH NAME |
| 6 | ntfswipe \- overwrite unused space on an NTFS volume |
| 7 | .SH SYNOPSIS |
| 8 | \fBntfswipe\fR [\fIoptions\fR] \fIdevice\fR |
| 9 | .SH DESCRIPTION |
| 10 | .B ntfswipe |
| 11 | clears all or part of unused space on an NTFS volume by overwriting |
| 12 | with zeroes or random bytes. |
| 13 | .SH OPTIONS |
| 14 | Below is a summary of all the options that |
| 15 | .B ntfswipe |
| 16 | accepts. Nearly all options have two equivalent names. The short name is |
| 17 | preceded by |
| 18 | .B \- |
| 19 | and the long name is preceded by |
| 20 | .BR \-\- . |
| 21 | Any single letter options, that don't take an argument, can be combined into a |
| 22 | single command, e.g. |
| 23 | .B \-fv |
| 24 | is equivalent to |
| 25 | .BR "\-f \-v" . |
| 26 | Long named options can be abbreviated to any unique prefix of their name. |
| 27 | .TP |
| 28 | \fB\-a\fR, \fB\-\-all\fR |
Steve Kondik | e68cb60 | 2016-08-28 00:45:36 -0700 | [diff] [blame] | 29 | Wipe all unused space. This may take significant time. If the option |
| 30 | \-\-unused-fast (or -U) is also present, the faster wiping method is used. |
Steve Kondik | 79165c3 | 2015-11-09 19:43:00 -0800 | [diff] [blame] | 31 | .TP |
| 32 | \fB\-b\fR, \fB\-\-bytes\fR BYTE-LIST |
| 33 | Define the allowed replacement bytes which are drawn randomly to overwrite |
| 34 | the unused space. BYTE-LIST is a comma-separated list of values in |
| 35 | range 0-255 expressed in octal, decimal or hexadecimal base. |
| 36 | .TP |
| 37 | \fB\-c\fR, \fB\-\-count\fR NUM |
| 38 | Define the number of times the unused space is to be overwritten. |
| 39 | .TP |
| 40 | \fB\-d\fR, \fB\-\-directory\fR |
| 41 | Wipe all the directory indexes, which may contain names of deleted files. |
| 42 | .TP |
| 43 | \fB\-f\fR, \fB\-\-force\fR |
| 44 | This will override some sensible defaults, such as not using a mounted volume. |
| 45 | Use this option with caution. |
| 46 | .TP |
| 47 | \fB\-h\fR, \fB\-\-help\fR |
| 48 | Show a list of options with a brief description of each one. |
| 49 | .TP |
| 50 | \fB\-i\fR, \fB\-\-info\fR |
Steve Kondik | e68cb60 | 2016-08-28 00:45:36 -0700 | [diff] [blame] | 51 | Display details about unused space, without wiping anything. |
Steve Kondik | 79165c3 | 2015-11-09 19:43:00 -0800 | [diff] [blame] | 52 | .TP |
| 53 | \fB\-l\fR, \fB\-\-logfile\fR |
| 54 | Overwrite the logfile (update journal). |
| 55 | .TP |
| 56 | \fB\-m\fR, \fB\-\-mft\fR |
| 57 | Overwrite the unused space in the MFT (main file table, which contains the |
| 58 | file names, and the contents of short files). |
| 59 | .TP |
| 60 | \fB\-n\fR, \fB\-\-no-action\fR |
| 61 | Executes the wiping process without writing to device. |
| 62 | .TP |
| 63 | \fB\-p\fR, \fB\-\-pagefile\fR |
| 64 | Overwrite the Windows swap space. |
| 65 | .TP |
| 66 | \fB\-q\fR, \fB\-\-quiet\fR |
| 67 | Suppress some debug/warning/error messages. |
| 68 | .TP |
| 69 | \fB\-s\fR, \fB\-\-undel\fR |
| 70 | Overwrite the space which had been allocated to a file which has been deleted |
| 71 | recently and is still undeletable. |
| 72 | .TP |
| 73 | \fB\-t\fR, \fB\-\-tails\fR |
| 74 | Overwrite the space at the end of files which is unused, but allocated |
| 75 | because the allocations are always done by full clusters. |
| 76 | .TP |
| 77 | \fB\-u\fR, \fB\-\-unused\fR |
| 78 | Overwrite the space which is currently not allocated to any file (but |
| 79 | may have been used in the past). |
| 80 | .TP |
| 81 | \fB\-U\fR, \fB\-\-unused-fast\fR |
| 82 | Overwrite the space which is currently not allocated to any file, trying |
| 83 | not to overwrite the space not written to since the previous wiping. |
| 84 | .TP |
| 85 | \fB\-v\fR, \fB\-\-verbose\fR |
Steve Kondik | e68cb60 | 2016-08-28 00:45:36 -0700 | [diff] [blame] | 86 | Display more debug/warning/error messages. This option may be used twice |
| 87 | to display even more messages. |
Steve Kondik | 79165c3 | 2015-11-09 19:43:00 -0800 | [diff] [blame] | 88 | .TP |
| 89 | \fB\-V\fR, \fB\-\-version\fR |
| 90 | Show the version number, copyright and license of |
| 91 | .BR ntfswipe . |
| 92 | .SH EXAMPLES |
| 93 | Wipe out all unused space in an NTFS volume. |
| 94 | .RS |
| 95 | .sp |
| 96 | .B ntfswipe -a /dev/sda1 |
| 97 | .sp |
| 98 | .RE |
| 99 | Wipe out all deleted file names from an NTFS volume. |
| 100 | .RS |
| 101 | .sp |
| 102 | .B ntfswipe -dms /dev/sda1 |
| 103 | .sp |
| 104 | .RE |
| 105 | .SH BUGS |
| 106 | There are no known problems with |
| 107 | .BR ntfswipe . |
| 108 | If you find a bug please send an email describing the problem to the |
| 109 | development team: |
| 110 | .br |
| 111 | .nh |
| 112 | ntfs\-3g\-devel@lists.sf.net |
| 113 | .hy |
| 114 | .SH AUTHORS |
| 115 | .B ntfswipe |
| 116 | was written by Richard Russon, Anton Altaparmakov and Yura Pakhuchiy. |
| 117 | It was ported to ntfs-3g by Erik Larsson. |
| 118 | .SH AVAILABILITY |
| 119 | .B ntfswipe |
| 120 | is part of the |
| 121 | .B ntfs-3g |
| 122 | package and is available from: |
| 123 | .br |
| 124 | .nh |
| 125 | http://www.tuxera.com/community/ |
| 126 | .hy |
| 127 | .SH SEE ALSO |
| 128 | .BR ntfs-3g (8), |
| 129 | .BR ntfsls (8), |
| 130 | .BR ntfsprogs (8) |