blob: 51010001c96f78943d1d21c588f0368f94be05fe [file] [log] [blame]
Steve Kondik2111ad72013-07-07 12:07:44 -07001.\" Copyright (c) 2005-2006 Szabolcs Szakacsits.
2.\" Copyright (c) 2005 Richard Russon.
Steve Kondik79165c32015-11-09 19:43:00 -08003.\" Copyright (c) 2011-2013 Jean-Pierre Andre
Steve Kondik2111ad72013-07-07 12:07:44 -07004.\" This file may be copied under the terms of the GNU Public License.
5.\"
Steve Kondik79165c32015-11-09 19:43:00 -08006.TH NTFSFIX 8 "January 2013" "ntfs-3g @VERSION@"
Steve Kondik2111ad72013-07-07 12:07:44 -07007.SH NAME
8ntfsfix \- fix common errors and force Windows to check NTFS
9.SH SYNOPSIS
10.B ntfsfix
11[\fIoptions\fR] \fIdevice\fR
12.SH DESCRIPTION
13.B ntfsfix
14is a utility that fixes some common NTFS problems.
15.B ntfsfix
16is
17.B NOT
18a Linux version of chkdsk. It only repairs some fundamental NTFS
19inconsistencies, resets the NTFS journal file and schedules an NTFS consistency
20check for the first boot into Windows.
21.sp
22You may run
23.B ntfsfix
24on an NTFS volume if you think it was damaged by Windows or some other way
25and it cannot be mounted.
26.SH OPTIONS
27Below is a summary of all the options that
28.B ntfsfix
29accepts. Nearly all options have two equivalent names. The short name is
30preceded by
31.B \-
32and the long name is preceded by
33.BR \-\- .
34Any single letter options, that don't take an argument, can be combined into a
35single command, e.g.
36.B \-fv
37is equivalent to
38.BR "\-f \-v" .
39Long named options can be abbreviated to any unique prefix of their name.
40.TP
41\fB\-b\fR, \fB\-\-clear\-bad\-sectors\fR
42Clear the list of bad sectors. This is useful after cloning an old disk
43with bad sectors to a new disk.
44.TP
45\fB\-d\fR, \fB\-\-clear\-dirty\fR
46Clear the volume dirty flag if the volume can be fixed and mounted.
47If the option is not present or the volume cannot be fixed, the dirty
48volume flag is set to request a volume checking at next mount.
49.TP
50\fB\-h\fR, \fB\-\-help\fR
51Show a list of options with a brief description of each one.
52.TP
Steve Kondik79165c32015-11-09 19:43:00 -080053\fB\-n\fR, \fB\-\-no\-action\fR
Steve Kondik2111ad72013-07-07 12:07:44 -070054Do not write anything, just show what would have been done.
55.TP
56\fB\-V\fR, \fB\-\-version\fR
57Show the version number, copyright and license
58.SH BUGS
59There are no known problems with
60.BR ntfsfix .
61If you find a bug please send an email describing the problem to the
62development team:
63.br
64.nh
65ntfs\-3g\-devel@lists.sf.net
66.hy
67.SH AUTHORS
68.B ntfsfix
69was written by Anton Altaparmakov, with contributions from Szabolcs Szakacsits.
70It was ported to ntfs-3g by Erik Larsson and Jean-Pierre Andre.
71.SH AVAILABILITY
72.B ntfsfix
73is part of the
74.B ntfs-3g
75package and is available from:
76.br
77.nh
78http://www.tuxera.com/community/
79.hy
80.SH SEE ALSO
81.BR mkntfs (8),
82.BR ntfsprogs (8)