183 lines
5.5 KiB
HTML
183 lines
5.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of NTFSWIPE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>NTFSWIPE</H1>
|
|
Section: Maintenance Commands (8)<BR>Updated: June 2014<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
ntfswipe - overwrite unused space on an NTFS volume
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>ntfswipe</B> [<I>options</I>] <I>device</I>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>ntfswipe</B>
|
|
|
|
clears all or part of unused space on an NTFS volume by overwriting
|
|
with zeroes or random bytes.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
Below is a summary of all the options that
|
|
<B>ntfswipe</B>
|
|
|
|
accepts. Nearly all options have two equivalent names. The short name is
|
|
preceded by
|
|
<B>-</B>
|
|
|
|
and the long name is preceded by
|
|
<B>--</B>.
|
|
|
|
Any single letter options, that don't take an argument, can be combined into a
|
|
single command, e.g.
|
|
<B>-fv</B>
|
|
|
|
is equivalent to
|
|
<B>-f -v</B>.
|
|
|
|
Long named options can be abbreviated to any unique prefix of their name.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-a</B>, <B>--all</B><DD>
|
|
Wipe all unused space. This may take significant time. If the option
|
|
--unused-fast (or -U) is also present, the faster wiping method is used.
|
|
<DT id="2"><B>-b</B>, <B>--bytes</B> BYTE-LIST<DD>
|
|
Define the allowed replacement bytes which are drawn randomly to overwrite
|
|
the unused space. BYTE-LIST is a comma-separated list of values in
|
|
range 0-255 expressed in octal, decimal or hexadecimal base.
|
|
<DT id="3"><B>-c</B>, <B>--count</B> NUM<DD>
|
|
Define the number of times the unused space is to be overwritten. If both
|
|
options <B>--bytes</B> and <B>--count</B> are set, the space is
|
|
repeatedly overwritten this number of times by each of the values in the list.
|
|
<DT id="4"><B>-d</B>, <B>--directory</B><DD>
|
|
Wipe all the directory indexes, which may contain names of deleted files.
|
|
<DT id="5"><B>-f</B>, <B>--force</B><DD>
|
|
This will override some sensible defaults, such as not using a mounted volume.
|
|
Use this option with caution.
|
|
<DT id="6"><B>-h</B>, <B>--help</B><DD>
|
|
Show a list of options with a brief description of each one.
|
|
<DT id="7"><B>-i</B>, <B>--info</B><DD>
|
|
Display details about unused space, without wiping anything.
|
|
<DT id="8"><B>-l</B>, <B>--logfile</B><DD>
|
|
Overwrite the logfile (update journal).
|
|
<DT id="9"><B>-m</B>, <B>--mft</B><DD>
|
|
Overwrite the unused space in the MFT (main file table, which contains the
|
|
file names, and the contents of short files).
|
|
<DT id="10"><B>-n</B>, <B>--no-action</B><DD>
|
|
Executes the wiping process without writing to device.
|
|
<DT id="11"><B>-p</B>, <B>--pagefile</B><DD>
|
|
Overwrite the Windows swap space.
|
|
<DT id="12"><B>-q</B>, <B>--quiet</B><DD>
|
|
Suppress some debug/warning/error messages.
|
|
<DT id="13"><B>-s</B>, <B>--undel</B><DD>
|
|
Overwrite the space which had been allocated to a file which has been deleted
|
|
recently and is still undeletable. This option is not compatible with
|
|
<B>--bytes</B> and the replacement bytes are random ones or taken from a
|
|
standard list.
|
|
<DT id="14"><B>-t</B>, <B>--tails</B><DD>
|
|
Overwrite the space at the end of files which is unused, but allocated
|
|
because the allocations are always done by full clusters.
|
|
<DT id="15"><B>-u</B>, <B>--unused</B><DD>
|
|
Overwrite the space which is currently not allocated to any file (but
|
|
may have been used in the past).
|
|
<DT id="16"><B>-U</B>, <B>--unused-fast</B><DD>
|
|
Overwrite the space which is currently not allocated to any file, trying
|
|
not to overwrite the space not written to since the previous wiping.
|
|
<DT id="17"><B>-v</B>, <B>--verbose</B><DD>
|
|
Display more debug/warning/error messages. This option may be used twice
|
|
to display even more messages.
|
|
<DT id="18"><B>-V</B>, <B>--version</B><DD>
|
|
Show the version number, copyright and license of
|
|
<B>ntfswipe</B>.
|
|
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
Wipe out all unused space in an NTFS volume.
|
|
<DL COMPACT><DT id="19"><DD>
|
|
<P>
|
|
<B>ntfswipe -a /dev/sda1</B>
|
|
|
|
<P>
|
|
</DL>
|
|
|
|
Wipe out all deleted file names from an NTFS volume.
|
|
<DL COMPACT><DT id="20"><DD>
|
|
<P>
|
|
<B>ntfswipe -dms /dev/sda1</B>
|
|
|
|
<P>
|
|
</DL>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
There are no known problems with
|
|
<B>ntfswipe</B>.
|
|
|
|
If you find a bug please send an email describing the problem to the
|
|
development team:
|
|
<BR>
|
|
|
|
|
|
<A HREF="mailto:ntfs-3g-devel@lists.sf.net">ntfs-3g-devel@lists.sf.net</A>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
<B>ntfswipe</B>
|
|
|
|
was written by Richard Russon, Anton Altaparmakov and Yura Pakhuchiy.
|
|
It was ported to ntfs-3g by Erik Larsson.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AVAILABILITY</H2>
|
|
|
|
<B>ntfswipe</B>
|
|
|
|
is part of the
|
|
<B>ntfs-3g</B>
|
|
|
|
package and is available from:
|
|
<BR>
|
|
|
|
|
|
<A HREF="http://www.tuxera.com/community/">http://www.tuxera.com/community/</A>
|
|
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+ntfs-3g">ntfs-3g</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+ntfsls">ntfsls</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+ntfsprogs">ntfsprogs</A></B>(8)
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="21"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="22"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="23"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="24"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="25"><A HREF="#lbAF">EXAMPLES</A><DD>
|
|
<DT id="26"><A HREF="#lbAG">BUGS</A><DD>
|
|
<DT id="27"><A HREF="#lbAH">AUTHORS</A><DD>
|
|
<DT id="28"><A HREF="#lbAI">AVAILABILITY</A><DD>
|
|
<DT id="29"><A HREF="#lbAJ">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:14 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|